-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathcompose.yml
More file actions
130 lines (112 loc) · 3.87 KB
/
compose.yml
File metadata and controls
130 lines (112 loc) · 3.87 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Local-development services for refinebio.
name: refinebio
# Shared config for the worker app services. Each worker image gets its own
# service so callers can `docker compose run --rm <worker> ...`.
x-worker: &worker
platform: linux/amd64
env_file: workers/environments/local
environment:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
volumes:
- ./workers/volume:/home/user/data_store
services:
postgres:
image: postgres:17.9
container_name: drdb
environment:
POSTGRES_PASSWORD: mysecretpassword
PGDATA: /var/lib/postgresql/data/pgdata
networks:
# Reachable as `database` from app services (matches the env files'
# DATABASE_HOST=database) so env files don't need updating.
default:
aliases:
- database
ports:
- "5432:5432"
volumes:
- ./volumes_postgres:/var/lib/postgresql/data
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4
container_name: dres
platform: linux/amd64
environment:
discovery.type: single-node
indices.query.bool.max_clause_count: 16384
ports:
- "9200:9200"
- "9300:9300"
api:
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_api_local:${SYSTEM_VERSION:-local}
platform: linux/amd64
env_file: api/environments/local
# dr_api_local has empty ENTRYPOINT and no CMD — needs an explicit
# command for `compose up` to work.
command: python3 manage.py runserver 0.0.0.0:8000
ports:
- "8000:8000"
# One-shot service used by `rbio common:*` (makemigrations / migrate / etc.).
# Mounts data_refinery_common back to the host so generated migration files
# land in the working tree.
migrations:
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_migrations:${SYSTEM_VERSION:-local}
platform: linux/amd64
env_file: common/environments/local
volumes:
- ./common/data_refinery_common:/home/user/data_refinery_common
# Per-subproject test services used by `rbio test:*`. Mirror the runtime
# services but with the test env_file so DJANGO_SETTINGS / DB names match
# what the test suites expect.
test_api:
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_api_local:${SYSTEM_VERSION:-local}
platform: linux/amd64
env_file: api/environments/test
volumes:
- ./test_volume:/home/user/data_store
test_common:
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_common_tests:${SYSTEM_VERSION:-local}
platform: linux/amd64
env_file: common/environments/test
volumes:
- ./test_volume:/home/user/data_store
test_foreman:
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_foreman:${SYSTEM_VERSION:-local}
platform: linux/amd64
env_file: foreman/environments/test
volumes:
- ./test_volume:/home/user/data_store
foreman:
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_foreman:${SYSTEM_VERSION:-local}
platform: linux/amd64
env_file: foreman/environments/local
environment:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
volumes:
- ./foreman/volume:/home/user/data_store
- /tmp:/tmp
smasher:
<<: *worker
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_smasher:${SYSTEM_VERSION:-local}
salmon:
<<: *worker
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_salmon:${SYSTEM_VERSION:-local}
no_op:
<<: *worker
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_no_op:${SYSTEM_VERSION:-local}
illumina:
<<: *worker
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_illumina:${SYSTEM_VERSION:-local}
downloaders:
<<: *worker
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_downloaders:${SYSTEM_VERSION:-local}
transcriptome:
<<: *worker
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_transcriptome:${SYSTEM_VERSION:-local}
compendia:
<<: *worker
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_compendia:${SYSTEM_VERSION:-local}
affymetrix:
<<: *worker
image: ${DOCKERHUB_REPO:-ccdlstaging}/dr_affymetrix:${SYSTEM_VERSION:-local}