generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose-git.yml
73 lines (63 loc) · 1.27 KB
/
docker-compose-git.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
73
version: "3.9"
x-spyne-git-repo:
&spyne-git-repo
https://github.com/CDCgov/spyne.git#prod
x-mira-git-repo:
&mira-git-repo
https://github.com/CDCgov/MIRA.git#prod
x-irma-image:
&irma-image
cdcgov/irma:v1.2.0
x-dais-image:
&dais-image
cdcgov/dais-ribosome:v1.5.4
x-spyne-image:
&spyne-image
spyne:v2.0.0
x-mira-image:
&mira-image
mira:v2.0.0
x-data-volume:
&data-volume
type: bind
source: /home/snu3/Github/FLU_SC2_SEQUENCING
target: /data
services:
spyne:
container_name: spyne
image: *spyne-image
build:
context: *spyne-git-repo
dockerfile: Dockerfile
args:
irma_image: *irma-image
dais_image: *dais-image
restart: always
networks:
- backend
volumes:
- *data-volume
command: tail -f /dev/null
mira:
container_name: mira
image: *mira-image
build:
context: *mira-git-repo
dockerfile: Dockerfile
args:
spyne_image: *spyne-image
depends_on:
- spyne
restart: always
networks:
- frontend
- backend
ports:
- 8020:8050
volumes:
- *data-volume
networks:
backend:
name: backend
frontend:
name: frontend