Created
December 1, 2023 09:51
-
-
Save otienoelvis/6f18639c4e2aa2ac38a8c2c03685d563 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
networks: | |
openhim: | |
services: | |
mongo-db: | |
container_name: mongo-db | |
image: mongo:4.0 | |
networks: | |
- openhim | |
volumes: | |
- "mongo-data:/data/db" | |
restart: unless-stopped | |
openhim-core: | |
container_name: openhim-core | |
image: jembi/openhim-core:5 | |
restart: unless-stopped | |
environment: | |
mongo_url: "mongodb://mongo-db/openhim-development" | |
mongo_atnaUrl: "mongodb://mongo-db/openhim-development" | |
NODE_ENV: "development" | |
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 | |
extra_hosts: | |
- "host_machine:172.26.16.1" | |
openhim-console: | |
container_name: openhim-console | |
image: jembi/openhim-console:1.13 | |
restart: unless-stopped | |
networks: | |
- openhim | |
ports: | |
- "9000:80" | |
healthcheck: | |
test: "curl -sS http://openhim-console || exit 1" | |
interval: 30s | |
timeout: 30s | |
retries: 3 | |
extra_hosts: | |
- "host_machine:172.26.16.1" | |
volumes: | |
mongo-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment