-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
113 lines (113 loc) · 3.69 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
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
103
104
105
106
107
108
109
110
111
112
113
version: '2'
services:
app:
restart: always
build: .
command: "gunicorn -b 0.0.0.0:5000 metadome.application:app"
environment:
- FLASK_APP=metadome/application.py
ports:
- "5000:5000"
depends_on:
- db
- celery
volumes:
- .:/usr/src/app
- data:/usr/data
- clinvar:/usr/data/ClinVar
- gencode:/usr/data/Gencode
- gnomad:/usr/data/gnoMAD
- pfam:/usr/data/PFAM
- uniprot:/usr/data/UniProt
- /usr/bin/docker:/usr/bin/docker # Point the local file to where your docker executable is located
- /var/run/docker.sock:/var/run/docker.sock # Point the local file to where your docker.sock is located
- interpro_temp:/usr/interpro_temp
celery:
restart: always
build:
context: .
dockerfile: Dockerfile
command: celery -A metadome.application:celery worker --loglevel=info
environment:
- C_FORCE_ROOT=1
depends_on:
- db
- redis
- rabbitmq
volumes:
- .:/usr/src/app
- data:/usr/data
- clinvar:/usr/data/ClinVar
- gencode:/usr/data/Gencode
- gnomad:/usr/data/gnoMAD
- pfam:/usr/data/PFAM
- uniprot:/usr/data/UniProt
- /usr/bin/docker:/usr/bin/docker # Point the local file to where your docker executable is located
- /var/run/docker.sock:/var/run/docker.sock # Point the local file to where your docker.sock is located
- interpro_temp:/usr/interpro_temp
db:
restart: always
image: postgres:10
platform: linux/arm64
environment:
- ./metadome/postgres_credentials.py
ports:
- "5432:5432"
volumes:
- metadome_postgres_db:/var/lib/postgresql/data
redis:
restart: always
image: redis:4.0
platform: linux/arm64
ports:
- "6379:6379"
rabbitmq:
restart: always
image: rabbitmq:3.7
platform: linux/arm64
ports:
- "15672:15672"
volumes:
data:
driver_opts:
type: none
# Please set the 'device' here to a local folder you are okay with MetaDome to create additional files and folders
device: <ABSOLUTE PATH>
o: bind
clinvar:
driver_opts:
type: none
# Please set the 'device' here to a local folder to where your ClinVar vcf is stored
device: <ABSOLUTE PATH>
o: bind
gencode:
driver_opts:
type: none
# Please set the 'device' here to a local folder to where your Gencode files are stored
device: <ABSOLUTE PATH>
o: bind
gnomad:
driver_opts:
type: none
# Please set the 'device' here to a local folder to where your gnomAD vcf is stored
device: <ABSOLUTE PATH>
o: bind
pfam:
driver_opts:
type: none
# Please set the 'device' here to a local folder to where your PFAM is located
device: <ABSOLUTE PATH>
o: bind
uniprot:
driver_opts:
type: none
# Please set the 'device' here to a local folder to where your UniProt is located
device: <ABSOLUTE PATH>
o: bind
metadome_postgres_db:
driver_opts:
type: none
# Please set the 'device' here to a local folder you are okay with MetaDome creating a postgres database
device: <ABSOLUTE PATH>
o: bind
interpro_temp: # Do not change this, this should be the last line with nothing behind it.