UNPKG

openhim-core

Version:

The OpenHIM core application that provides logging and routing of http requests

51 lines (46 loc) 1.11 kB
version: '3' networks: openhim: services: mongo-db: container_name: mongo-db image: mongo:3.4 networks: - openhim volumes: - "mongo-data:/data/db" restart: unless-stopped openhim-core: container_name: openhim-core 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" 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 openhim-console: container_name: openhim-console image: jembi/openhim-console:latest restart: unless-stopped networks: - openhim ports: - "9000:80" healthcheck: test: "curl -sS http://openhim-console || exit 1" interval: 30s timeout: 30s retries: 3 volumes: mongo-data: