-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 1.05 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'
services:
webapp:
container_name: webapp
build: ./webapp
volumes:
- ./webapp/tmp:/csh/webapp/tmp
ports:
- 5000:5000
env_file:
- webapp.env
- .env
matcher_worker:
build: ./matcher
container_name: matcher_worker
command: python manage.py
depends_on:
- redis
env_file:
- matcher.env
- .env
webapp_worker:
image: matchingtool_webapp
container_name: webapp_worker
command: python manage.py runworker
volumes:
- ./webapp/tmp:/csh/webapp/tmp
depends_on:
- redis
- webapp
env_file:
- webapp.env
- .env
redis:
image: redis
container_name: csh_queue
ports:
- 6379:6379
nginx:
image: "nginx:1.13.5"
ports:
- 80:80
volumes:
- ./webapp/conf.d:/etc/nginx/conf.d
depends_on:
- webapp