-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·102 lines (94 loc) · 2.03 KB
/
Copy pathdocker-compose.yml
File metadata and controls
executable file
·102 lines (94 loc) · 2.03 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# TANDEM
# gradio_app: port 7861
# TANDEM-dev : port 7862
# always : docker compose down
# unless-stopped : docker compose stop
services:
gradio_app:
restart: always
build: ./gradio_app
image: gradio_app
container_name: gradio_app
ports:
- "7861:7861"
volumes:
- ./gradio_app:/gradio_app
- ./tandem:/tandem
depends_on:
- mongodb
- worker
- tandem1
- tandem2
- tandem3
- tandem4
labels:
owner: "loci"
tandem1: &tandem_service
restart: always
platform: linux/amd64
build: ./tandem
image: tandem_1:latest
container_name: tandem_1
expose:
- "5000" # internal only; not mapped to host
depends_on:
- mongodb
- polyphen2
volumes:
- ./tandem:/tandem
- ./gradio_app:/gradio_app
labels:
owner: "loci"
tandem2:
<<: *tandem_service
image: tandem_2:latest
container_name: tandem_2
tandem3:
<<: *tandem_service
image: tandem_3:latest
container_name: tandem_3
tandem4:
<<: *tandem_service
image: tandem_4:latest
container_name: tandem_4
polyphen2:
restart: always
platform: linux/amd64
build:
context: ./tandem/PolyPhen-2
dockerfile: Dockerfile
image: pph2
container_name: pph2
expose:
- "5001"
volumes:
- ../tandem_website_dev/tandem/PolyPhen-2:/pph2
- ./tandem:/tandem
labels:
owner: "loci"
worker:
restart: always
build: ./worker
image: worker
container_name: worker
depends_on:
- mongodb
- tandem1
- tandem2
- tandem3
- tandem4
environment:
TANDEM_URLS: "http://tandem1:5000/run_tandem_job,http://tandem2:5000/run_tandem_job,http://tandem3:5000/run_tandem_job,http://tandem4:5000/run_tandem_job"
volumes:
- ./worker:/worker
- ./tandem:/tandem
labels:
owner: "loci"
mongodb:
restart: always
image: mongo:8
container_name: mongodb
ports:
- "27017:27017"
labels:
owner: "loci"