diff --git a/reprocess-mediator/docker-compose.yml b/reprocess-mediator/docker-compose.yml index 8a28358c..e23b97a4 100644 --- a/reprocess-mediator/docker-compose.yml +++ b/reprocess-mediator/docker-compose.yml @@ -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} @@ -32,3 +35,6 @@ networks: reverse-proxy: name: reverse-proxy_public external: true + openhim-mongo: + name: openhim_mongo_public + external: true diff --git a/reprocess-mediator/package-metadata.json b/reprocess-mediator/package-metadata.json index 493fd70c..fa8c999d 100644 --- a/reprocess-mediator/package-metadata.json +++ b/reprocess-mediator/package-metadata.json @@ -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", @@ -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 + } }