Skip to content

Commit

Permalink
Merge pull request #315 from jembi/fix/reprocess-env
Browse files Browse the repository at this point in the history
Adds env variables to Reprocess Mediator + UI
  • Loading branch information
drizzentic authored Jul 25, 2024
2 parents 9ab0e0a + f2f6c6c commit c62d307
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
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

}
}

0 comments on commit c62d307

Please sign in to comment.