-
Notifications
You must be signed in to change notification settings - Fork 119
/
docker-compose.yml
59 lines (53 loc) · 1.1 KB
/
docker-compose.yml
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
54
55
56
57
58
version: '2'
services:
redis:
build: ./docker/redis
couch:
build: ./docker/couchdb
ports:
- "9998:5984"
app:
build: .
volumes:
- .:/src
- /src/node_modules
command: /src/bin/docker/wait redis couch worker0 balancer -c node /src/bin/services/web
depends_on:
- "redis"
- "couch"
ports:
- "11000:11000"
balancer:
#build: .
volumes:
- .:/src
- /src/node_modules
image: "hookio_app"
command: /src/bin/docker/wait redis -c node /src/bin/services/load-balancer
ports:
- "9999:9999"
depends_on:
- "app"
links:
- "app:web"
worker0:
#build: .
volumes:
- .:/src
- /src/node_modules
image: "hookio_app"
command: /src/bin/docker/wait redis couch -c node /src/bin/services/worker
privileged: true
ports:
- "10000:10000"
depends_on:
- "app"
links:
- "app:web"
setup:
image: "hookio_app"
command: /src/bin/docker/wait couch -c /src/bin/docker/initialize
depends_on:
- "app"
links:
- "app:web"