Bulk-FHIR-Validation/docker-compose.yml

77 lines
4.2 KiB
YAML

version: '3.7'
services:
# HTTP Server (Nginx) providing FHIR NPM repository with packages from our local directory ./packages
fhir-packages-repository-service:
image: nginx
restart: unless-stopped
volumes:
# The FHIR NPM packages (.tgz archives) are located in local directory ./packages
# This source directory with the FHIR packages is mounted as the Nginx http server standard content directory /usr/share/nginx/html
- ./packages:/usr/share/nginx/html:ro
# FHIR Server (HAPI)
fhir-validation-server:
# HAPI FHIR (https://hapifhir.io/)
image: hapiproject/hapi:v7.0.3
restart: unless-stopped
depends_on:
- fhir-packages-repository-service
environment:
# Load FHIR NPM Package with MII Kerndatensatz modules and its dependencies from fhir-packages-repository-service
HAPI_FHIR_IMPLEMENTATIONGUIDES_DEBASIS_NAME: "de.basisprofil.r4"
HAPI_FHIR_IMPLEMENTATIONGUIDES_DEBASIS_VERSION: "1.4.0"
HAPI_FHIR_IMPLEMENTATIONGUIDES_DEBASIS_PACKAGEURL: "http://fhir-packages-repository-service/de.basisprofil.r4-1.4.0.tgz"
#HAPI_FHIR_IMPLEMENTATIONGUIDES_DEBASIS_PACKAGEURL: "http://fhir-packages-repository-service/de.basisprofil.r4-1.4.0-explicit-versions-in-valueset.tgz"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSMETA_NAME: "de.medizininformatikinitiative.kerndatensatz.meta"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSMETA_VERSION: "1.0.3"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSMETA_PACKAGEURL: "http://fhir-packages-repository-service/de.medizininformatikinitiative.kerndatensatz.meta-1.0.3.tgz"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSPERSON_NAME: "de.medizininformatikinitiative.kerndatensatz.person"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSPERSON_VERSION: "2024.0.0"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSPERSON_PACKAGEURL: "http://fhir-packages-repository-service/de.medizininformatikinitiative.kerndatensatz.person-2024.0.0.tgz"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSDIAGNOSE_NAME: "de.medizininformatikinitiative.kerndatensatz.diagnose"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSDIAGNOSE_VERSION: "2024.0.0"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSDIAGNOSE_PACKAGEURL: "http://fhir-packages-repository-service/de.medizininformatikinitiative.kerndatensatz.diagnose-2024.0.0.tgz"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSPROZEDUR_NAME: "de.medizininformatikinitiative.kerndatensatz.prozedur"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSPROZEDUR_VERSION: "2024.0.0"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSPROZEDUR_PACKAGEURL: "http://fhir-packages-repository-service/de.medizininformatikinitiative.kerndatensatz.prozedur-2024.0.0.tgz"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSFALL_NAME: "de.medizininformatikinitiative.kerndatensatz.fall"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSFALL_VERSION: "2024.0.1"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSFALL_PACKAGEURL: "http://fhir-packages-repository-service/de.medizininformatikinitiative.kerndatensatz.fall-2024.0.1.tgz"
HAPI_FHIR_IMPLEMENTATIONGUIDES_HL7FHIRUVIPS_NAME: "hl7.fhir.uv.ips"
HAPI_FHIR_IMPLEMENTATIONGUIDES_HL7FHIRUVIPS_VERSION: "1.0.0"
HAPI_FHIR_IMPLEMENTATIONGUIDES_HL7FHIRUVIPS_PACKAGEURL: "http://fhir-packages-repository-service/hl7.fhir.uv.ips-1.0.0.tgz"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSLABORBEFUND_NAME: "de.medizininformatikinitiative.kerndatensatz.laborbefund"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSLABORBEFUND_VERSION: "1.0.6"
HAPI_FHIR_IMPLEMENTATIONGUIDES_MIIKDSLABORBEFUND_PACKAGEURL: "http://fhir-packages-repository-service/de.medizininformatikinitiative.kerndatensatz.laborbefund-1.0.6.tgz"
jupyter:
image: jupyter/scipy-notebook
restart: unless-stopped
ports:
- 80:8888
# set custom token
command: start-notebook.py --NotebookApp.token='${JUPYTER_TOKEN}'
environment:
# set credentials in .env so this docker-compose.yml can be fully versioned in git!
FHIR_VALIDATION_DATASOURCE_BASEURL: ${FHIR_VALIDATION_DATASOURCE_BASEURL}
FHIR_VALIDATION_DATASOURCE_AUTH_NAME: ${FHIR_VALIDATION_DATASOURCE_AUTH_NAME}
FHIR_VALIDATION_DATASOURCE_AUTH_PASSWORD: ${FHIR_VALIDATION_DATASOURCE_AUTH_PASSWORD}
volumes:
- ./home/:/home/jovyan/