Skip to content
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

Adds env variables to Reprocess Mediator + UI #315

Merged
merged 3 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions reprocess-mediator/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ services:
networks:
openhim:
reprocess:
openhim-mongo:
environment:
TRUST_SELF_SIGNED: ${TRUST_SELF_SIGNED}
OPENHIM_MEDIATOR_URL: ${OPENHIM_MEDIATOR_URL}
OPENHIM_USERNAME: ${OPENHIM_USERNAME}
OPENHIM_PASSWORD: ${OPENHIM_PASSWORD}
REGISTER_MEDIATOR: ${REGISTER_MEDIATOR}
MONGODB_CONNECTION_STRING: ${MONGODB_CONNECTION_STRING}
MONGODB_DIRECT_CONNECTION: ${MONGODB_DIRECT_CONNECTION}

reprocess-mediator-ui:
image: ${REPROCESS_MEDIATOR_UI_VERSION}
Expand All @@ -32,3 +35,6 @@ networks:
reverse-proxy:
name: reverse-proxy_public
external: true
openhim-mongo:
name: openhim_mongo_public
external: true
7 changes: 5 additions & 2 deletions reprocess-mediator/package-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A mediator that allows for configuring and reprocessing of transactions",
"type": "use-case",
"version": "1.4.2",
"dependencies": ["interoperability-layer-openhim"],
"dependencies": ["interoperability-layer-openhim", "message-bus-kafka"],
"environmentVariables": {
"TRUST_SELF_SIGNED": "true",
"OPENHIM_MEDIATOR_URL": "https://openhim-core:8080",
Expand All @@ -13,6 +13,9 @@
"REGISTER_MEDIATOR": "true",
"REPROCESSOR_API_BASE_URL": "http://reprocess-mediator:3000",
"REPROCESS_MEDIATOR_VERSION": "jembi/reprocess-mediator:v0.1.0",
"REPROCESS_MEDIATOR_UI_VERSION": "jembi/reprocess-mediator-ui:v0.1.0"
"REPROCESS_MEDIATOR_UI_VERSION": "jembi/reprocess-mediator-ui:v0.1.0",
"MONGODB_CONNECTION_STRING": "mongodb://mongo-1:27017/openhim",
"MONGODB_DIRECT_CONNECTION": false

}
}