-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
124 lines (121 loc) · 3.89 KB
/
docker-compose.yml
File metadata and controls
124 lines (121 loc) · 3.89 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
version: '3'
services:
indexd:
image: "wuyesunwj/icdc-indexd:baseline"
command: bash indexd_setup.sh
networks:
- devnet
volumes:
- ./apis_configs/indexd_settings.py:/var/www/indexd/local_settings.py
- ./apis_configs/indexd_creds.json:/var/www/indexd/creds.json
- ./apis_configs/config_helper.py:/var/www/indexd/config_helper.py
- ./scripts/indexd_setup.sh:/var/www/indexd/indexd_setup.sh
depends_on:
- postgres
fence:
image: "wuyesunwj/icdc-fence:1.0"
command: bash /var/www/fence/fence_setup.sh
networks:
- devnet
volumes:
- ./apis_configs/fence_settings.py:/var/www/fence/local_settings.py
- ./apis_configs/fence_creds.json:/var/www/fence/creds.json
- ./apis_configs/config_helper.py:/var/www/fence/config_helper.py
- ./apis_configs/fence_credentials.json:/var/www/fence/fence_credentials.json
- ./apis_configs/user.yaml:/var/www/fence/user.yaml
- ./temp_keys:/fence/keys
- ./scripts/fence_setup.sh:/var/www/fence/fence_setup.sh
environment:
- PYTHONPATH=/var/www/fence
depends_on:
- postgres
peregrine:
image: "wuyesunwj/icdc-peregrine:1.0"
command: bash /peregrine_setup.sh
networks:
- devnet
volumes:
- ./apis_configs/peregrine_settings.py:/var/www/peregrine/wsgi.py
- ./apis_configs/peregrine_settings.py:/var/run/gen3/wsgi.py
- ./apis_configs/peregrine_creds.json:/var/www/peregrine/creds.json
- ./apis_configs/config_helper.py:/var/www/peregrine/config_helper.py
- ./temp_creds/service.crt:/usr/local/share/ca-certificates/cdis-ca.crt
- ./scripts/peregrine_setup.sh:/peregrine_setup.sh
- ./example-schemas:/schemas_dir
environment: &env
DICTIONARY_URL: https://s3.amazonaws.com/icdc-pub/icdc-gen3-dictionary.json
# DICTIONARY_URL: https://s3.amazonaws.com/dictionary-artifacts/datadictionary/develop/schema.json
# PATH_TO_SCHEMA_DIR: /schemas_dir
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
depends_on:
- postgres
sheepdog:
image: "wuyesunwj/icdc-sheepdog:1.0"
command: bash /sheepdog_setup.sh
networks:
- devnet
volumes:
- ./apis_configs/sheepdog_settings.py:/var/www/sheepdog/wsgi.py
- ./apis_configs/sheepdog_creds.json:/var/www/sheepdog/creds.json
- ./apis_configs/config_helper.py:/var/www/sheepdog/config_helper.py
- ./scripts/sheepdog_setup.sh:/sheepdog_setup.sh
- ./example-schemas:/schemas_dir
environment: *env
depends_on:
- postgres
dataportal:
image: "wuyesunwj/icdc-dataportal:1.0"
command: ["bash", "/var/www/data-portal/waitForContainers.sh"]
networks:
- devnet
volumes:
- ./scripts/waitForContainers.sh:/var/www/data-portal/waitForContainers.sh
environment:
- NODE_ENV=dev
- MOCK_STORE=true
- APP=dev
- GDC_SUBPATH=http://nginx/api/v0/submission/
depends_on:
- postgres
- peregrine
- sheepdog
nginx:
image: "nginx:1.14"
networks:
- devnet
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./temp_creds/service.crt:/etc/nginx/ssl/nginx.crt
- ./temp_creds/service.key:/etc/nginx/ssl/nginx.key
ports:
- "80:80"
- "443:443"
depends_on:
- indexd
- peregrine
- sheepdog
- fence
- dataportal
coremetadata:
image: "wuyesunwj/icdc-pidgin:baseline"
command: bash /pidgin_setup.sh
networks:
- devnet
volumes:
- ./apis_configs/pidgin_settings.py:/pidgin/wsgi.py
- ./scripts/pidgin_setup.sh:/pidgin_setup.sh
environment: *env
depends_on:
- postgres
postgres:
image: postgres:9.5
networks:
- devnet
volumes:
- "psqldata:/var/lib/postgresql/data"
- "./scripts/postgres_init.sql:/docker-entrypoint-initdb.d/postgres_init.sql"
restart: unless-stopped
volumes:
psqldata:
networks:
devnet: