-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 904 Bytes
/
docker-compose.yml
File metadata and controls
53 lines (48 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
mysql:
image: groonga/mroonga:mysql5631_mroonga606
ports:
- '3306:3306'
volumes_from:
- datastore
memcache:
image: memcached:1.4.26
ports:
- '11211:11211'
volumes_from:
- datastore
nginx:
build: containers/nginx
ports:
- '80:80'
- '443:443'
volumes_from:
- datastore
links:
- rails
datastore:
build: containers/datastore
volumes:
- /Users/keizosuzuki/dev:/usr/src/app
rails:
build: containers/rails
ports:
- '3000:3000'
environment:
RAILS_ENV: development
DATABASE_URL: mysql2://root@mysql:3306
MEMCACHE_URL: memcache:11211
ELASTICSEARCH_URL: http://elasticsearch:9200
SECRET_KEY_BASE: hogehoge
volumes_from:
- datastore
links:
- mysql
- memcache
- elasticsearch
elasticsearch:
build: containers/elasticsearch
ports:
- '9200:9200'
- '9300:9300'
volumes_from:
- datastore