forked from HBPMedical/algorithm-repository
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
86 lines (79 loc) · 2.68 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
---
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.5.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
statistics:
image: "hbpmip/python-summary-statistics:latest"
container_name: "statistics"
restart: "no"
environment:
NODE: job_test
JOB_ID: 1
IN_JDBC_DRIVER: org.postgresql.Driver
IN_JDBC_URL: jdbc:postgresql://db:5432/features
IN_JDBC_USER: features
IN_JDBC_PASSWORD: featurespwd
OUT_JDBC_DRIVER: org.postgresql.Driver
OUT_JDBC_URL: jdbc:postgresql://db:5432/woken
OUT_JDBC_USER: woken
OUT_JDBC_PASSWORD: wokenpwd
PARAM_variables: "score_test1"
PARAM_covariables: "stress_before_test1,iq"
PARAM_grouping: ""
PARAM_query: "SELECT stress_before_test1,score_test1,iq,cognitive_task2,practice_task2,response_time_task2,college_math,score_math_course1,score_math_course2 FROM SAMPLE_DATA"
PARAM_meta: "{\"score_test1\":{\"code\":\"score_test1\",\"type\":\"real\"},\"stress_before_test1\":{\"code\":\"stress_before_test1\",\"type\":\"real\"},\"iq\":{\"code\":\"iq\",\"type\":\"real\"},\"cognitive_task2\":{\"code\":\"cognitive_task2\",\"type\":\"real\"},\"practice_task2\":{\"code\":\"practice_task2\",\"type\":\"real\"},\"response_time_task2\":{\"code\":\"response_time_task2\",\"type\":\"real\"},\"college_math\":{\"code\":\"college_math\",\"type\":\"real\"},\"score_math_course1\":{\"code\":\"score_math_course1\",\"type\":\"real\"},\"score_math_course2\":{\"code\":\"score_math_course2\",\"type\":\"real\"}}"
MODEL_PARAM_design: "factorial"
links:
- "db:db"