From 0e4f358cde37f26dde530ddd0505d15c2edfa2b6 Mon Sep 17 00:00:00 2001 From: Mutesasira Moses Date: Wed, 7 Dec 2022 21:24:59 +0300 Subject: [PATCH] add local setup --- docker-compose.local.yml | 15 +++++---------- volume/nginix/nginx.conf | 9 --------- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/docker-compose.local.yml b/docker-compose.local.yml index ebaa9e8..af8f771 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -19,9 +19,9 @@ services: - certs - ### - # iSantePlus Server - ### + ## + #iSantePlus Server + ## isanteplus: container_name: isanteplus hostname: isanteplus @@ -31,7 +31,7 @@ services: - ./isanteplus.env volumes: - /openmrs/data - - .volume/isanteplus/custom_modules:/custom_modules + - ./volume/isanteplus/custom_modules:/custom_modules logging: driver: "json-file" options: @@ -54,7 +54,7 @@ services: - MYSQL_PASSWORD=${IPLUS_DB_PW-mysqlpw} - MYSQL_ROOT_HOST=% # Allow docker containers to connect to mysql volumes: - - ./mysql.cnf:/etc/mysql/conf.d/custom.cnf # mysql config preconfigured to allow binlog/debezium + # - ./mysql.cnf:/etc/mysql/conf.d/custom.cnf # mysql config preconfigured to allow binlog/debezium - /var/lib/mysql @@ -93,11 +93,6 @@ services: mongo_url: "mongodb://mongo-db/openhim" mongo_atnaUrl: "mongodb://mongo-db/openhim" NODE_ENV: "development" - # healthcheck: - # test: "node /healthcheck.js" - # interval: 20s - # timeout: 20s - # retries: 2 ports: # - 5000 diff --git a/volume/nginix/nginx.conf b/volume/nginix/nginx.conf index f6b1e3a..e8b6b46 100644 --- a/volume/nginix/nginx.conf +++ b/volume/nginix/nginx.conf @@ -1,13 +1,4 @@ -# upstream isanteplus { -# server host.docker.internal:8080; -# } -# upstream openelis { -# server host.docker.internal:8443; -# } -# upstream openhim { -# server host.docker.internal:80; -# } server { listen 80;