-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-for-data-upload.yml
122 lines (105 loc) · 3.31 KB
/
docker-compose-for-data-upload.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
115
116
117
118
119
120
121
122
version: '3'
services:
i2b2-web:
image: i2b2/i2b2-web:p1
ports:
- "80:80"
- "443:443"
command: /run-httpd.sh localhost
networks:
- i2b2net
depends_on:
- i2b2-wildfly
i2b2-wildfly:
image: i2b2/i2b2-wildfly:release-v1.7.10.0001
ports:
- "8080:8080"
- "9990:9990"
networks:
- i2b2net
depends_on:
- i2b2-pg
i2b2-pg:
image: i2b2/i2b2-pg:p1
ports:
- "5432:5432"
networks:
- i2b2net
i2b2-python-delete-data:
image: i2b2/i2b2-python-delete-data:0.1
stdin_open: true
tty: true
command: "python delete_all_data.py "
environment:
- I2B2_DB_HOST=localhost
# networks:
# - i2b2net
# depends_on:
# - i2b2-pg
i2b2-cdi-sftp:
image: atmoz/sftp
container_name: i2b2-cdi-sftp
# volumes:
# - "./sftpdata/concept:/home/${SFTP_USER:-i2b2sftpuser}/concept"
# - "./sftpdata/data:/home/${SFTP_USER:-i2b2sftpuser}/data"
ports:
- "2222:22"
networks:
- i2b2net
command: ${SFTP_USER:-i2b2sftpuser}:${SFTP_PASS:-i2b2sftppass}:1001::concept,data
i2b2-cdi-pg:
image: postgres:9.6.5
container_name: i2b2-cdi-pg
# volumes:
# - ~/volumes/postgresql/:/var/lib/postgresql/data/
networks:
- i2b2net
environment:
- POSTGRES_USER=igia
- POSTGRES_PASSWORD=igiaPwd
- POSTGRES_DB=clinical_data_infrastructure
# ports:
# - "4432:5432"
i2b2-cdi-app:
image: i2b2/i2b2-cdi-app:alpha-v1
container_name: i2b2-cdi-app
environment:
- SPRING_PROFILES_ACTIVE=prod
- APP_DATASOURCE_POSTGRESQL_URL=jdbc:postgresql://i2b2-cdi-pg:5432/clinical_data_infrastructure
- APP_DATASOURCE_POSTGRESQL_USERNAME=igia
- APP_DATASOURCE_POSTGRESQL_PASSWORD=igiaPwd
- APP_DATASOURCE_POSTGRESQL_DRIVER=com.zaxxer.hikari.HikariDataSource
- APP_DATASOURCE_I2B2_URL=jdbc:postgresql://i2b2db:5432/i2b2
- APP_DATASOURCE_I2B2_USERNAME=i2b2
- APP_DATASOURCE_I2B2_PASSWORD=i2b2
- APP_DATASOURCE_I2B2_DRIVER=com.zaxxer.hikari.HikariDataSource
- APP_LOGGING_LOGSTASH_ENABLED=false
- APP_LOGGING_LOGSTASH_METRICSENABLED=false
- INTEGRATION_SFTP_REMOTEDIRPATHCONCEPT=/concept/
- INTEGRATION_SFTP_REMOTEDIRPATHDATA=/data/
- INTEGRATION_SFTP_LOCALDIRPATHCONCEPT=/opt/igia/concept/
- INTEGRATION_SFTP_LOCALDIRPATHDATA=/opt/igia/data/
- INTEGRATION_SFTP_HOST=i2b2-cdi-sftp
- INTEGRATION_SFTP_PORT=22
- INTEGRATION_SFTP_USER=${SFTP_USER:-i2b2sftpuser}
- INTEGRATION_SFTP_PASSWORD=${SFTP_PASS:-i2b2sftppass}
volumes:
- /opt/igia/concept
- /opt/igia/data
depends_on:
- i2b2-cdi-pg
- i2b2-cdi-sftp
networks:
- i2b2net
centos-zip:
image: centos
build: centos_zip/.
container_name: centos-zip
tty: true
volumes:
- ${PWD}:/to_zip
#command: "yum -y install zip && /bin/bash"
#command: "yum -y install zip && echo 'zipped'"
networks:
i2b2net:
driver: bridge