-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 1.27 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
version: '3.8'
volumes:
pg_station:
external: True
services:
airflow:
build: './airflow'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# Station Private Key environment variable needs to be set and registered
- $STATION_PRIVATE_KEY_PATH:/opt/private_key.pem
- $STATION_DATA_DIR:$AIRFLOW_DATA_DIR
restart: unless-stopped
depends_on:
- pg_station
environment:
- FHIR_ADDRESS=$FHIR_SERVER_URL
- FHIR_USER=$FHIR_USER
- FHIR_PW=$FHIR_PW
- FHIR_TOKEN=$FHIR_TOKEN
- FHIR_SERVER_TYPE=$FHIR_SERVER_TYPE
- HARBOR_USER=$HARBOR_USER
- HARBOR_PW=$HARBOR_PW
- STATION_ID=$STATION_ID
- PRIVATE_KEY_PATH=/opt/private_key.pem
- HARBOR_URL=$HARBOR_URL
- AIRFLOW_USER=$AIRFLOW_USER
- AIRFLOW_PW=$AIRFLOW_PW
- STATION_DATA_DIR=$STATION_DATA_DIR
- CLIENT_ID=$CLIENT_ID
- CLIENT_SECRET=$CLIENT_SECRET
- OIDC_PROVIDER_URL=$OIDC_PROVIDER_URL
- PRIVATE_KEY_PASSWORD=$PRIVATE_KEY_PASSWORD
ports:
- "8080:8080"
pg_station:
image: postgres:13
volumes:
- ./scripts/init.sql:/docker-entrypoint-initdb.d/init.sql
- pg_station:/var/lib/postgresql/data
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin