-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-prebuilt.yml
51 lines (50 loc) · 1.08 KB
/
docker-compose-prebuilt.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
version: '3.2'
services:
store:
image: redis
networks:
- backend
db:
image: postgres
volumes:
- db_data:/var/lib/postgresql/data
networks:
- backend
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
worker:
image: chandlerswift/dtanm-worker
networks:
- backend
volumes:
- cctf:/cctf
- /var/run/docker.sock:/var/run/docker.sock
- ./pack:/pack
depends_on:
- store
- db
environment:
- REDIS_HOST=store
- POSTGRES_HOST=db
web:
image: chandlerswift/dtanm-web
ports:
- "5000:5000"
networks:
- backend
volumes:
- cctf:/cctf
- type: bind
source: ./pack
target: /pack
depends_on:
- store
- db
environment:
- REDIS_HOST=store
- POSTGRES_HOST=db
networks:
backend:
volumes:
cctf:
db_data: