-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (63 loc) · 1.32 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
67
68
69
70
71
72
version: '3'
services:
flask:
container_name: flask
restart: always
build: /home/lemmav/diplom/tsp-main
ports:
- "8000:8000"
command: gunicorn -w 1 -b 0.0.0.0:8000 wsgi:server
volumes:
- /home/lemmav/diplom/dbdir:/flask
nginx:
container_name: nginx
restart: always
build: /home/lemmav/diplom/nginx
ports:
- "80:80"
depends_on:
- flask
bnb:
container_name: bnb
restart: always
build: /home/lemmav/diplom/tsp-main/Algorithms/bnb
depends_on:
- nginx
bnn:
container_name: bnn
restart: always
build: /home/lemmav/diplom/tsp-main/Algorithms/bnn
depends_on:
- nginx
ga:
container_name: ga
restart: always
build: /home/lemmav/diplom/tsp-main/Algorithms/ga
depends_on:
- nginx
nga:
container_name: nga
restart: always
build: /home/lemmav/diplom/tsp-main/Algorithms/nga
depends_on:
- nginx
nn:
container_name: nn
restart: always
build: /home/lemmav/diplom/tsp-main/Algorithms/nn
depends_on:
- nginx
checkdb:
container_name: checkdb
restart: always
build: /home/lemmav/diplom/tsp-main/checkdb
volumes:
- /home/lemmav/diplom/dbdir:/checkdb
depends_on:
- nginx
volumes:
dbdir:
networks:
webnet:
driver:
bridge