forked from HBPMedical/algorithm-repository
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
114 lines (104 loc) · 3.36 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
114
---
version: '2'
services:
db:
image: postgres:9.6.5-alpine
hostname: db
environment:
POSTGRES_PASSWORD: test
wait_dbs:
image: "waisbrot/wait"
restart: "no"
environment:
TARGETS: "db:5432"
TIMEOUT: 60
create_dbs:
image: "hbpmip/create-databases:1.0.0"
restart: "no"
environment:
DB_HOST: db
DB_PORT: 5432
DB_ADMIN_USER: postgres
DB_ADMIN_PASSWORD: test
DB1: features
USER1: features
PASSWORD1: featurespwd
DB2: woken
USER2: woken
PASSWORD2: wokenpwd
depends_on:
- db
sample_data_db_setup:
image: "hbpmip/sample-data-db-setup:0.6.0"
container_name: "data-db-setup"
restart: "no"
environment:
FLYWAY_DBMS: postgresql
FLYWAY_HOST: db
FLYWAY_PORT: 5432
FLYWAY_DATABASE_NAME: features
FLYWAY_USER: postgres
FLYWAY_PASSWORD: test
depends_on:
- db
woken_db_setup:
image: "hbpmip/woken-db-setup:1.0.2"
container_name: "woken-db-setup"
restart: "no"
environment:
FLYWAY_DBMS: postgresql
FLYWAY_HOST: db
FLYWAY_PORT: 5432
FLYWAY_DATABASE_NAME: woken
FLYWAY_USER: postgres
FLYWAY_PASSWORD: test
depends_on:
- db
correlation-heatmap-base:
image: "hbpmip/python-correlation-heatmap:latest"
container_name: "correlation-heatmap"
restart: "no"
environment:
NODE: job_test
JOB_ID: 1
IN_DBAPI_DRIVER: postgresql
IN_USER: features
IN_PASSWORD: featurespwd
IN_HOST: db
IN_PORT: 5432
IN_DATABASE: features
OUT_DBAPI_DRIVER: postgresql
OUT_USER: woken
OUT_PASSWORD: wokenpwd
OUT_HOST: db
OUT_PORT: 5432
OUT_DATABASE: woken
PARAM_variables: "lefthippocampus"
PARAM_covariables: "minimentalstate,opticchiasm,subjectageyears"
PARAM_grouping: ""
PARAM_query: "SELECT lefthippocampus, minimentalstate, opticchiasm, subjectageyears FROM cde_features_a LIMIT 100"
PARAM_meta: "{\"lefthippocampus\":{\"code\":\"lefthippocampus\",\"type\":\"real\",\"mean\":3.0,\"std\":0.35},\"minimentalstate\":{\"code\":\"minimentalstate\",\"type\":\"real\",\"mean\":24.0,\"std\":5.0},\"opticchiasm\":{\"code\":\"opticchiasm\",\"type\":\"real\",\"mean\":0.08,\"std\":0.009},\"subjectage\":{\"code\":\"subjectage\",\"type\":\"real\",\"mean\":71.0,\"std\":8.0},\"subjectageyears\":{\"description\":\"Subject age in years.\",\"methodology\":\"mip-cde\",\"label\":\"Age Years\",\"minValue\":0,\"code\":\"subjectageyears\",\"units\":\"years\",\"length\":3,\"maxValue\":130.0,\"type\":\"integer\"}}"
MODEL_PARAM_design: "factorial"
correlation-heatmap-a:
extends: correlation-heatmap-base
container_name: "correlation-heatmap-a"
environment:
JOB_ID: '1'
PARAM_query: "SELECT lefthippocampus, minimentalstate, opticchiasm, subjectageyears FROM cde_features_a LIMIT 100"
links:
- "db:db"
correlation-heatmap-b:
extends: correlation-heatmap-base
container_name: "correlation-heatmap-b"
environment:
JOB_ID: '2'
PARAM_query: "SELECT lefthippocampus, minimentalstate, opticchiasm, subjectageyears FROM cde_features_b LIMIT 100"
links:
- "db:db"
correlation-heatmap-agg:
extends: correlation-heatmap-base
container_name: "correlation-heatmap-agg"
environment:
JOB_ID: '3'
links:
- "db:db"