-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
50 lines (50 loc) · 900 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
version: "3"
volumes:
uploads:
tex:
pdf:
services:
redis:
image: redis:6.0-alpine
mongodb:
image: mongo:4.2-bionic
flask:
build:
context: ./webserver/
dockerfile: ./flask/Dockerfile
env_file: ./webserver/flask/flask.env
ports:
- 5000:5000
depends_on:
- celery
- redis
volumes:
- uploads:/var/www/uploads
celery:
build: ./webserver/celery
env_file: ./webserver/celery/celery.env
ports:
- 5555:5555
depends_on:
- redis
volumes:
- uploads:/uploads
- tex:/tex
- pdf:/pdf
node:
build: ./frontend_server/api
ports:
- 9001:9001
depends_on:
- mongodb
- flask
volumes:
- uploads:/app/uploads
- tex:/app/tex
- pdf:/app/pdf
react:
build: ./frontend_server/frontend
ports:
- 3000:3000
depends_on:
- node