Skip to content

Commit

Permalink
Merge pull request #1236 from jembi/fix-docker-connection-string
Browse files Browse the repository at this point in the history
Fix docker connection string
  • Loading branch information
drizzentic authored Dec 5, 2024
2 parents 43cdb04 + 315712e commit fdfa87b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions infrastructure/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ services:
image: jembi/openhim-core:latest
restart: unless-stopped
environment:
- mongo_url="mongodb://mongo-db/openhim-development"
- mongo_atnaUrl="mongodb://mongo-db/openhim-development"
- NODE_ENV="development"
- mongo_url=mongodb://mongo-db/openhim-development
- mongo_atnaUrl=mongodb://mongo-db/openhim-development
- NODE_ENV=development
- api_authenticationTypes=["token", "basic", "openid", "local"]
- authentication_enableCustomTokenAuthentication=true
- authentication_enableJWTAuthentication=true
- authentication_jwt_secretOrPublicKey=secret
- authentication_jwt_algorithms=HS256
- authentication_jwt_issuer=openhim
- openhimConsoleBaseUrl="http://localhost:9000"
- openhimConsoleBaseUrl=http://localhost:9000
ports:
- "8080:8080"
- "5000:5000"
- "5001:5001"
networks:
- openhim
healthcheck:
test: "curl -sSk https://openhim-core:8080/heartbeat || exit 1"
interval: 30s
timeout: 30s
retries: 3
test: "curl -sSk https://openhim-core:8080/heartbeat || exit 1"
interval: 30s
timeout: 30s
retries: 3

openhim-console:
container_name: openhim-console
Expand All @@ -48,10 +48,10 @@ services:
ports:
- "9000:80"
healthcheck:
test: "curl -sS http://openhim-console || exit 1"
interval: 30s
timeout: 30s
retries: 3
test: "curl -sS http://openhim-console || exit 1"
interval: 30s
timeout: 30s
retries: 3

volumes:
mongo-data:

0 comments on commit fdfa87b

Please sign in to comment.