Skip to content

Commit

Permalink
Set up debugging, openhim, and mongo-db
Browse files Browse the repository at this point in the history
  • Loading branch information
pmanko committed Nov 4, 2022
1 parent 54586c9 commit 3ce7efb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
22 changes: 19 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,26 @@ services:
xds-mediator:
container_name: xds-mediator
hostname: xds-mediator
image: xds-mediator:latest
image: ghcr.io/isanteplus/openhim-mediator-xds:local
ports:
- "8050:8050"
- "1044:1044"
volumes:
#data is the directory which you want to persist the generated parquet files
- ../data:/tmp
- ./src/main/resources/mediator.properties:/mediator.properties
entrypoint: java -agentlib:jdwp=transport=dt_socket,address=1044,server=y,suspend=y -jar /mediator-xds-1.0.3-jar-with-dependencies.jar --conf /mediator.properties
openhim-core:
container_name: openhim-core
image: jembi/openhim-core:latest
restart: unless-stopped
environment:
mongo_url: "mongodb://mongo-db/openhim"
mongo_atnaUrl: "mongodb://mongo-db/openhim"
NODE_ENV: "development"
volumes:
- ./configs/openhim-core/healthcheck.js:/healthcheck.js
mongo-db:
container_name: mongo-db
image: mongo:3.4
volumes:
- "mongo-data:/data/db"
restart: unless-stopped
1 change: 1 addition & 0 deletions src/main/resources/mediator-registration-info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"urn": "urn:mediator:xds",
"version": "${version}",
"version": "1.0.0",
"name": "OpenHIE XDS.b Mediator",
"description": "An XDS.b mediator for OpenHIE integration",
Expand Down

0 comments on commit 3ce7efb

Please sign in to comment.