-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
69 lines (60 loc) · 1.14 KB
/
docker-compose.yaml
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
59
60
61
62
63
64
65
66
67
version: '3.3'
services:
# we use redis pub/sub to share events between the services
redis:
image: redis:5-alpine
graphql:
image: node:12-alpine
working_dir: /node
command: yarn start
volumes:
- ./graphql:/node
ports:
- 80:80
depends_on:
- redis
dice:
image: node:12-alpine
working_dir: /node
command: yarn start
volumes:
- ./dice:/node
ports:
- 80
depends_on:
- redis
- dice-postgres
dice-postgres:
image: postgres:12-alpine
environment:
- POSTGRES_PASSWORD=password
wheel:
image: node:12-alpine
working_dir: /node
command: yarn start
volumes:
- ./wheel:/node
ports:
- 80
depends_on:
- redis
- wheel-postgres
wheel-postgres:
image: postgres:12-alpine
environment:
- POSTGRES_PASSWORD=password
statistic:
image: node:12-alpine
working_dir: /node
command: yarn start
volumes:
- ./statistic:/node
ports:
- 80
depends_on:
- redis
- statistic-postgres
statistic-postgres:
image: postgres:12-alpine
environment:
- POSTGRES_PASSWORD=password