forked from broadinstitute/seqr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
108 lines (97 loc) · 2.76 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
version: '2.4'
services:
postgres:
container_name: seqr-cfi-postgres
image: postgres:12.6
command: postgres -c listen_addresses='*'
environment:
- PGPORT=5433
- POSTGRES_PASSWORD=docker-compose-postgres-password
volumes:
- ./data/postgres:/var/lib/postgresql/data
healthcheck:
test: pg_isready -h postgres -U postgres
interval: 5s
timeout: 10s
retries: 100
redis:
image: redis:6.2.7
healthcheck:
test: redis-cli ping
interval: 3s
timeout: 5s
retries: 100
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
volumes:
- ./data/elasticsearch:/usr/share/elasticsearch/data
container_name: seqr-cfi-elasticsearch
environment:
- http.host=0.0.0.0
- discovery.type=single-node
- cluster.routing.allocation.disk.threshold_enabled=false
healthcheck:
test: bash -c "curl -s elasticsearch:9200/_cat/health | grep green"
interval: 3s
timeout: 5s
retries: 100
ports:
- 9200:9200
kibana:
container_name: seqr-cfi-kibana
image: docker.elastic.co/kibana/kibana:7.16.3
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
depends_on:
elasticsearch:
condition: service_healthy
healthcheck:
test: bash -c "curl -s kibana:5601 | grep kibana"
interval: 3s
timeout: 5s
retries: 100
seqr:
build: .
image: seqr-cfi
volumes:
- ./data/readviz:/readviz
- ./data/seqr_static_files:/seqr_static_files
ports:
- 80:8000
environment:
- SEQR_GIT_BRANCH=dev
- PYTHONPATH=/seqr
- STATIC_MEDIA_DIR=/seqr_static_files
- POSTGRES_SERVICE_HOSTNAME=postgres
- POSTGRES_SERVICE_PORT=5433
- POSTGRES_PASSWORD=docker-compose-postgres-password
- ELASTICSEARCH_SERVICE_HOSTNAME=elasticsearch
- REDIS_SERVICE_HOSTNAME=redis
- KIBANA_SERVICE_HOSTNAME=kibana
- PGHOST=postgres
- PGPORT=5433
- PGUSER=postgres
- GUNICORN_WORKER_THREADS=4
- BASE_URL=${BASE_URL}
- DEPLOYMENT_TYPE=prod
- POSTMARK_SERVER_TOKEN=${POSTMARK_SERVER_TOKEN}
depends_on:
postgres:
condition: service_healthy
elasticsearch:
condition: service_healthy
redis:
condition: service_healthy
healthcheck:
test: bash -c "curl -s 'http://localhost:8000' | grep html"
pipeline-runner:
container_name: seqr-cfi-pipeline-runner
image: gcr.io/seqr-project/pipeline-runner:gcloud-prod
volumes:
- ./data/seqr-reference-data:/seqr-reference-data
- ./data/vep_data:/vep_data
- ./data/input_vcfs:/input_vcfs
- ~/.config:/root/.config
depends_on:
elasticsearch:
condition: service_healthy