From e7416a17d8467ac7ec5182db4a1d53ebfb4cfd2f Mon Sep 17 00:00:00 2001 From: Emmanuel Nyachoke Date: Mon, 27 Feb 2023 18:19:25 +0300 Subject: [PATCH] HSC-152: Provide missing EIP client auth env variables (#37) --- .env | 10 ++++++++++ docker-compose.yml | 9 +++++++++ 2 files changed, 19 insertions(+) diff --git a/.env b/.env index c087d26..58b2f3f 100644 --- a/.env +++ b/.env @@ -56,6 +56,15 @@ OPENMRS_REPORTS_PASSWORD=Admin123 EIP_DB_NAME=openmrs_eip_mngt EIP_DB_USER=eip_user EIP_DB_PASSWORD=password +OAUTH_CLIENT_SECRET=_demo_sample_key_to_be_replaced_ +OAUTH_ACCESS_TOKEN_URI=none +OAUTH_ENABLED=false +OAUTH_CLIENT_ID=none +RESULTS_ENCOUNTER_TYPE_UUID= +CONCEPT_COMPLEX_UUID= +OPENMRS_IDENTIFIER_TYPE_UUD= +DB_EVENT_DESTINATIONS=direct:odoo-event-listener +CREATE_CUSTOMER_IF_NOT_EXIST=false # Binaries: @@ -94,3 +103,4 @@ TIMEZONE=UTC # Backup volume BACKUP_PATH= + diff --git a/docker-compose.yml b/docker-compose.yml index 896a961..c3cd9c9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -396,6 +396,15 @@ services: - EIP_DB_PASSWORD=${EIP_DB_PASSWORD} - EIP_DB_HOST=mysql - EIP_DB_PORT=3306 + - OAUTH_CLIENT_SECRET=${OAUTH_CLIENT_SECRET} + - OAUTH_ACCESS_TOKEN_URI=${OAUTH_ACCESS_TOKEN_URI} + - OAUTH_ENABLED=${OAUTH_ENABLED} + - OAUTH_CLIENT_ID=${OAUTH_CLIENT_ID} + - RESULTS_ENCOUNTER_TYPE_UUID=${RESULTS_ENCOUNTER_TYPE_UUID} + - CONCEPT_COMPLEX_UUID=${CONCEPT_COMPLEX_UUID} + - OPENMRS_IDENTIFIER_TYPE_UUD=${OPENMRS_IDENTIFIER_TYPE_UUD} + - DB_EVENT_DESTINATIONS=${DB_EVENT_DESTINATIONS} + - CREATE_CUSTOMER_IF_NOT_EXIST=${CREATE_CUSTOMER_IF_NOT_EXIST} networks: bahmni: aliases: