forked from Edinburgh-Genome-Foundry/CUBA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (48 loc) · 906 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
version: '3'
services:
redis:
restart: always
image: redis
rqworker:
build: backend
image: cuba/django
restart: always
command: ./rqworker_reload.sh
links:
- redis
depends_on:
- redis
volumes:
- ./backend:/code
django:
image: cuba/django
restart: always
command: gunicorn website.wsgi:application -b :8082 --reload
links:
- redis
- rqworker
depends_on:
- redis
- rqworker
volumes:
- ./backend:/code
vue:
restart: always
build: frontend
command: npm run dev
volumes:
- ./frontend:/code
- /code/node_modules
# port:
# - '8080:8080'
nginx:
restart: always
image: nginx
ports:
- "80:80"
links:
- vue
- django
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- /var/log/nginx_cuba:/var/log/nginx