-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
66 lines (61 loc) · 1.31 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3"
services:
rp_nginx:
image: nginx:1.15.10
container_name: rp_nginx
ports:
- "9000:80"
- "9443:443"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
#- ./nginx/error.log:/etc/nginx/error_log.log
#- ./nginx/cache/:/etc/nginx/cache
depends_on:
- back_flask
- front_react
links:
- back_flask
- front_react
networks:
- visatm
back_flask:
hostname: backend
container_name: back_flask
build:
context: ./back
args:
- http_proxy=http://proxyout.inist.fr:8080/
- https_proxy=http://proxyout.inist.fr:8080/
env_file: ./back/.env
expose:
- "5000"
volumes:
- ./back/uploaded/:/app/uploaded
- ./back/corpus/:/app/corpus
- ./back/galaxy:/app/galaxy
- ./back/outputs/:/app/outputs
networks:
- visatm
front_react:
hostname: frontend
container_name: front_react
build:
context: ./front
args:
- http_proxy=http://proxyout.inist.fr:8080/
- https_proxy=http://proxyout.inist.fr:8080/
env_file: proxy.env
expose:
- "5000"
depends_on:
- back_flask
networks:
- visatm
links:
- back_flask
networks:
visatm:
driver: "bridge"
volumes:
uploaded:
jobs_output: