-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
51 lines (50 loc) · 1.04 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
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:
build: 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:
build: 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: