-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #285 from jembi/CU-86byatwb7_Add-FHIR-IG-Upload-ap…
…p-to-platform Add FHIR IG importer to platform
- Loading branch information
Showing
10 changed files
with
569 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '3.9' | ||
|
||
services: | ||
fhir-ig-importer-mediator: | ||
ports: | ||
- target: 3001 | ||
published: 3333 | ||
mode: host | ||
|
||
fhir-ig-importer-ui: | ||
ports: | ||
- target: 8080 | ||
published: 3000 | ||
mode: host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
version: '3.9' | ||
|
||
services: | ||
fhir-ig-importer-mediator: | ||
image: jembi/fhir-ig-importer-mediator:${FHIR_IG_IMPORTER_CORE_VERSION} | ||
networks: | ||
hapi-fhir: | ||
openhim: | ||
environment: | ||
HAPI_FHIR_BASE_URL: ${HAPI_FHIR_BASE_URL} | ||
HAPI_FHIR_INSTANCES: ${HAPI_FHIR_INSTANCES} | ||
FHIR_IG_IMPORTER_CORE_PORT: ${FHIR_IG_IMPORTER_CORE_PORT} | ||
FHIR_IG_IMPORTER_CORE_HOST: ${FHIR_IG_IMPORTER_CORE_HOST} | ||
|
||
fhir-ig-importer-ui: | ||
image: jembi/fhir-ig-importer-mediator-ui:${FHIR_IG_IMPORTER_UI_VERSION} | ||
networks: | ||
hapi-fhir: | ||
openhim: | ||
environment: | ||
FHIR_IG_IMPORTER_CORE_URL: ${FHIR_IG_IMPORTER_CORE_URL} | ||
|
||
networks: | ||
hapi-fhir: | ||
name: hapi-fhir_public | ||
external: true | ||
openhim: | ||
name: openhim_public | ||
external: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
version: '3.9' | ||
|
||
services: | ||
# container for executing config import scripts for creating the OpenHIM channels used by the Mediator | ||
fhir-ig-importer-config-importer: | ||
image: node:erbium-alpine | ||
networks: | ||
openhim: | ||
default: | ||
environment: | ||
OPENHIM_API_USERNAME: ${OPENHIM_USERNAME} | ||
OPENHIM_API_PASSWORD: ${OPENHIM_PASSWORD} | ||
# Reject unauthorised is only needed if the OpenHIM's SSL is not setup | ||
NODE_TLS_REJECT_UNAUTHORIZED: 0 | ||
command: sh -c "node openhimConfig.js" | ||
configs: | ||
- source: fhir-ig-importer-config-importer-openhimConfig.js | ||
target: /openhimConfig.js | ||
- source: fhir-ig-importer-config-importer-openhim-import.json | ||
target: /openhim-import.json | ||
deploy: | ||
replicas: 1 | ||
restart_policy: | ||
condition: none | ||
|
||
configs: | ||
fhir-ig-importer-config-importer-openhimConfig.js: | ||
file: ./volume/openhimConfig.js | ||
name: fhir-ig-importer-config-importer-openhimConfig.js-${fhir_ig_importer_config_importer_openhimConfig_js_DIGEST:?err} | ||
labels: | ||
name: fhir-ig-importer | ||
fhir-ig-importer-config-importer-openhim-import.json: | ||
file: ./volume/openhim-import.json | ||
name: fhir-ig-importer-config-importer-openhim-import.json-${fhir_ig_importer_config_importer_openhim_import_js_DIGEST:?err} | ||
labels: | ||
name: fhir-ig-importer | ||
|
||
networks: | ||
openhim: | ||
name: openhim_public | ||
external: true |
Oops, something went wrong.