-
Notifications
You must be signed in to change notification settings - Fork 40
OZ-735: Implement docker-compose-orthanc.yml
#119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
f7c858c
[TEST] Analysing Orthanc
VaishSiddharth 82317fc
Add config and fix port
VaishSiddharth 61db9f3
Add docker compose eip-openmrs-orthanc service and configs
VaishSiddharth 6b58ded
Merge remote-tracking branch 'origin/main' into oz-702
VaishSiddharth 1cf70cc
Add image and fix configs
VaishSiddharth 9a91f44
Add env variables and cleanup
VaishSiddharth b74f5a8
Merge remote-tracking branch 'origin/main' into oz-702
VaishSiddharth f0f228b
Remove files
VaishSiddharth 9e8bb1e
Address comments
VaishSiddharth 8f355c5
Address comments+
VaishSiddharth b48e8d1
Merge remote-tracking branch 'origin/main' into oz-702
VaishSiddharth ba3fb6e
Remove configs
VaishSiddharth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,85 @@ | ||
| version: "3.8" | ||
|
|
||
| services: | ||
| orthanc: | ||
| command: /run/secrets/ | ||
| secrets: | ||
| - orthanc.json | ||
| image: sidvaish97/orthanc_test:v1.0 | ||
VaishSiddharth marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| platform: linux/amd64 | ||
| restart: always | ||
| environment: | ||
| - ORTHANC_NAME=Orthanc | ||
| - ORTHANC_AUTHENTICATION=keycloak | ||
| - KEYCLOAK_REALM=orthanc | ||
| - KEYCLOAK_CLIENT_ID=orthanc | ||
| volumes: | ||
| - orthanc-db:/var/lib/orthanc/db | ||
| networks: | ||
| - ozone | ||
| - web | ||
| ports: | ||
| - "8889:8042" | ||
|
|
||
| # Orthanc - OpenMRS integration service | ||
| eip-openmrs-orthanc: | ||
| depends_on: | ||
| env-substitution: | ||
| condition: service_completed_successfully | ||
| openmrs: | ||
| condition: service_healthy | ||
| mysql: | ||
| condition: service_started | ||
| orthanc: | ||
| condition: service_started | ||
| environment: | ||
| - EIP_DB_NAME_ORTHANC=${EIP_DB_NAME_ORTHANC} | ||
| - EIP_DB_USER_ORTHANC=${EIP_DB_USER_ORTHANC} | ||
| - EIP_DB_PASSWORD_ORTHANC=${EIP_DB_PASSWORD_ORTHANC} | ||
| - OPENMRS_URL=http://openmrs:8080/openmrs | ||
| - ORTHANC_URL=http://orthanc:8042 | ||
| - EIP_PROFILE=prod | ||
| - MYSQL_ADMIN_USER=root | ||
| - MYSQL_ADMIN_USER_PASSWORD=${MYSQL_ROOT_PASSWORD} | ||
| - OPENMRS_DB_HOST=${OPENMRS_DB_HOST} | ||
| - OPENMRS_DB_PORT=${OPENMRS_DB_PORT} | ||
| - OPENMRS_DB_NAME=${OPENMRS_DB_NAME} | ||
| - OPENMRS_DB_USER=${OPENMRS_DB_USER} | ||
| - OPENMRS_DB_PASSWORD=${OPENMRS_DB_PASSWORD} | ||
| - OPENMRS_USER=${OPENMRS_USER} | ||
| - OPENMRS_PASSWORD=${OPENMRS_PASSWORD} | ||
| - EIP_FHIR_RESOURCES= | ||
| - EIP_FHIR_SERVER_URL=http://openmrs:8080/openmrs/ws/fhir2/R4 | ||
| - EIP_FHIR_USERNAME=${OPENMRS_USER} | ||
| - EIP_FHIR_PASSWORD=${OPENMRS_PASSWORD} | ||
| - OPENMRS_USERNAME=${OPENMRS_USER} | ||
| - OPENMRS_PASSWORD=${OPENMRS_PASSWORD} | ||
| image: mekomsolutions/eip-client | ||
| networks: | ||
| ozone: | ||
| aliases: | ||
| - eip-openmrs-orthanc | ||
| restart: unless-stopped | ||
| volumes: | ||
| - "${EIP_OPENMRS_ORTHANC_ROUTES_PATH}:/eip-client/routes" | ||
| - eip-home-orthanc:/eip-home | ||
|
|
||
| mysql: | ||
| environment: | ||
| EIP_DB_NAME_ORTHANC: ${EIP_DB_NAME_ORTHANC} | ||
| EIP_DB_USER_ORTHANC: ${EIP_DB_USER_ORTHANC} | ||
| EIP_DB_PASSWORD_ORTHANC: ${EIP_DB_PASSWORD_ORTHANC} | ||
| volumes: | ||
| - "${SQL_SCRIPTS_PATH}/mysql/eip-openmrs-orthanc:/docker-entrypoint-initdb.d/db/eip-openmrs-orthanc" | ||
|
|
||
| secrets: | ||
| orthanc.json: | ||
| file: ${ORTHANC_CONFIG_PATH}/orthanc.json | ||
|
|
||
| networks: | ||
| ozone: | ||
| web: | ||
|
|
||
| volumes: | ||
| orthanc-db: | ||
| eip-home-orthanc: ~ | ||
VaishSiddharth marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.