-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
108 lines (108 loc) · 4.15 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
version: '3.8'
services:
validation-structure-definition-server:
image: "ghcr.io/samply/blaze:0.18.3"
environment:
BASE_URL: "http://validation-structure-definition-server:8080"
JAVA_TOOL_OPTIONS: "-Xmx2g"
ports:
- "${STRUCTURE_DEFINITION_SERVER_PORT:-8090}:8080"
volumes:
- "validation-structure-definition-server-data:/app/data"
healthcheck:
test: curl --fail http://validation-structure-definition-server:8080/health || exit 1
interval: 5s
retries: 20
start_period: 20s
timeout: 5s
validation-structure-definition-upload:
image: ghcr.io/medizininformatik-initiative/fdpg-query-data-validation/blaze-upload:0.5.2
environment:
BLAZE_SERVER_URL: "http://validation-structure-definition-server:8080/fhir"
PACKAGES: "${SIMPLIFIER_PACKAGES}"
HTTP_PACKAGE_DOWNLOAD_PROXY: "${HTTP_PACKAGE_DOWNLOAD_PROXY}"
HTTPS_PACKAGE_DOWNLOAD_PROXY: "${HTTPS_PACKAGE_DOWNLOAD_PROXY}"
UPLOAD_FROM_LOCAL: "${UPLOAD_FROM_LOCAL}"
volumes:
- ${FHIR_PROFILE_DIRECTORY:-./fhir_profiles}:/app/fhir_profiles
- ${PERSISTENCE_DIRECTORY:-./persistence}:/app/persistence
depends_on:
validation-structure-definition-server:
condition: service_healthy
validation-terminology-service:
image: "ghcr.io/itcr-uni-luebeck/termite:0.1.18"
ports:
- "${TERMINOLOGY_SERVICE_PORT:-8093}:8083"
environment:
TERMINOLOGY_SERVICE_PORT: 8083
volumes:
- ${VALUE_SET_DIRECTORY:-./value_sets}:/app/value_sets
- ${CODE_SYSTEM_DIRECTORY:-./code_systems}:/app/code_systems
healthcheck:
test: curl --fail http://validation-terminology-service:8083/fhir/metadata || exit 1
interval: 5s
retries: 20
start_period: 20s
timeout: 5s
fhir-data-validator:
image: "ghcr.io/itcr-uni-luebeck/fhir-marshal:1.1.8"
environment:
STRUCTURE_SERVER_URL: "http://validation-structure-definition-server:8080/fhir"
TERMINOLOGY_SERVER_URL: "http://validation-terminology-service:8083/fhir"
PORT: "8081"
ports:
- "${FHIR_DATA_VALIDATOR_PORT:-8091}:8081"
healthcheck:
test: 'curl -X POST -d "{\"resourceType\":\"Bundle\",\"type\":\"transaction\",\"entry\":[]}" http://fhir-data-validator:8081/validate -H "Content-Type: application/json" || exit 1'
interval: 5s
retries: 20
start_period: 20s
timeout: 5s
depends_on:
validation-structure-definition-upload:
condition: service_completed_successfully
validation-terminology-service:
condition: service_healthy
validation-mapping-service:
image: "ghcr.io/itcr-uni-luebeck/validation-profile-mapper:0.1.18"
environment:
SERVICE_PORT: "8082"
VALIDATOR_URL: "http://fhir-data-validator:8081/validate"
volumes:
- ${VALIDATION_MAPPING_DIRECTORY:-./maps}:/app/maps
ports:
- "${VALIDATION_MAPPING_PORT:-8092}:8082"
healthcheck:
test: curl --fail http://validation-mapping-service:8082/validate || exit 1
interval: 5s
retries: 20
start_period: 20s
timeout: 5s
depends_on:
fhir-data-validator:
condition: service_healthy
fhir-data-extraction:
image: "ghcr.io/medizininformatik-initiative/fdpg-query-data-validation/extraction:0.5.0"
environment:
FHIR_SERVER_URL: "${FHIR_SERVER_URL:-http://localhost:8080/fhir}"
TOTAL: "${TOTAL:-500}"
COUNT: "${COUNT:-500}"
VALIDATION_URL: "http://validation-mapping-service:8082/validate"
FHIR_USERNAME: "${FHIR_USERNAME}"
FHIR_PASSWORD: "${FHIR_PASSWORD}"
FHIR_TOKEN: "${FHIR_TOKEN}"
FHIR_HTTP_PROXY: "${FHIR_HTTP_PROXY}"
FHIR_HTTPS_PROXY: "${FHIR_HTTPS_PROXY}"
CA_FILE_NAME: "${CA_FILE_NAME}"
VERIFY_SSL_CERT: "${VERIFY_SSL_CERT}"
volumes:
- ${REPORT_LOCATION:-./report}:/app/report
- ${VALIDATION_MAPPING_DIRECTORY:-./maps}:/app/maps
- ${DISTRIBUTION_TEST_DIRECTORY:-./distribution_tests}:/app/distribution_tests
depends_on:
validation-mapping-service:
condition: service_healthy
volumes:
validation-structure-definition-server-data:
name: "validation-structure-definition-server-data"
external: false