-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (59 loc) · 1012 Bytes
/
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
59
60
version: '3'
services:
db:
restart: always
image: postgres:latest
container_name: db
ports:
- "5432:5432"
env_file:
- .env
volumes:
- ./postgres:/var/lib/postgresql
anonengine:
build: ./application
container_name: anonengine
restart: always
links:
- db
depends_on:
- db
ports:
- "5003:5003"
env_file:
- .env
volumes:
- .:/opt/services/anonengine/src
dash:
build: ./dash
container_name: dash
restart: always
links:
- db
depends_on:
- db
ports:
- "5004:5004"
env_file:
- .env
volumes:
- .:/opt/services/dash/src
dashboard:
build: ./dashboard
image: dashboard:v1.0
container_name: dashboard
ports:
- "8009:7009"
web:
build: ./nginx
container_name: web
restart: always
depends_on:
- anonengine
links:
- anonengine
ports:
- "8880:8880"
- "8881:8881"
volumes:
postgres: