Skip to content

Commit

Permalink
BAH-3508 | Refactor. Remove logging configurations (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan-13 authored Sep 2, 2024
1 parent dcd5075 commit 4bf28c4
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 122 deletions.
7 changes: 2 additions & 5 deletions bahmni-lite/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ COMPOSE_PROFILES=emr
# Environment variable to set the timezone for the containers
TZ=UTC

LOKI_URL=http://localhost:3100/loki/api/v1/push

# Host-Port Mappings, credentials for Atomfeed Sync across various services. Defaults to services running in docker.
OPENMRS_HOST=openmrs
OPENMRS_PORT=8080
Expand Down Expand Up @@ -109,11 +111,6 @@ SMS_ORIGINATOR=
SMS_PROVIDER_API="https://api.d7networks.com/messages/v1/send"
SMS_COUNTRY_CODE=+91

#Loki Environment Variables
LOKI_IMAGE_TAG=2.6.0
PROMTAIL_IMAGE_TAG=2.6.0
GRAFANA_IMAGE_TAG=9.4.7

#Crater-Atomfeed Environment variables
CRATER_USERNAME=[email protected]
CRATER_PASSWORD=Crater123
Expand Down
7 changes: 2 additions & 5 deletions bahmni-lite/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ COMPOSE_PROFILES=emr
# Environment variable to set the timezone for the containers
TZ=UTC

LOKI_URL=http://localhost:3100/loki/api/v1/push

# Host-Port Mappings, credentials for Atomfeed Sync across various services. Defaults to services running in docker.
OPENMRS_HOST=openmrs
OPENMRS_PORT=8080
Expand Down Expand Up @@ -109,11 +111,6 @@ SMS_ORIGINATOR=
SMS_PROVIDER_API="https://api.d7networks.com/messages/v1/send"
SMS_COUNTRY_CODE=+91

#Loki Environment Variables
LOKI_IMAGE_TAG=2.6.0
PROMTAIL_IMAGE_TAG=2.6.0
GRAFANA_IMAGE_TAG=latest

#Crater-Atomfeed Environment variables
CRATER_USERNAME=[email protected]
CRATER_PASSWORD=Crater123
Expand Down
2 changes: 1 addition & 1 deletion bahmni-lite/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ x-default-logging: &default
x-loki-logging: &loki
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-url: ${LOKI_URL:?}
mode: non-blocking
max-buffer-size: 4m
loki-retries: "3"
Expand Down
7 changes: 2 additions & 5 deletions bahmni-standard/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ COMPOSE_PROFILES=emr
# Environment variable to set the timezone for the containers
TZ=UTC

LOKI_URL=http://localhost:3100/loki/api/v1/push

# Host-Port Mappings, credentials for Atomfeed Sync across various services. Defaults to services running in docker.
OPENMRS_HOST=openmrs
OPENMRS_PORT=8080
Expand Down Expand Up @@ -124,11 +126,6 @@ PATIENT_DOCUMENTS_TAG=latest
APPOINTMENTS_IMAGE_TAG=latest
APPOINTMENTS_PATH=

#Loki Environment Variables
LOKI_IMAGE_TAG=2.6.0
PROMTAIL_IMAGE_TAG=2.6.0
GRAFANA_IMAGE_TAG=latest

#PACS DB Server Environment Variables
PACS_DB_HOST=pacsdb
PACS_DB_PORT=5432
Expand Down
7 changes: 2 additions & 5 deletions bahmni-standard/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ COMPOSE_PROFILES=emr
# Environment variable to set the timezone for the containers
TZ=UTC

LOKI_URL=http://localhost:3100/loki/api/v1/push

# Host-Port Mappings, credentials for Atomfeed Sync across various services. Defaults to services running in docker.
OPENMRS_HOST=openmrs
OPENMRS_PORT=8080
Expand Down Expand Up @@ -124,11 +126,6 @@ PATIENT_DOCUMENTS_TAG=latest
APPOINTMENTS_IMAGE_TAG=latest
APPOINTMENTS_PATH=

#Loki Environment Variables
LOKI_IMAGE_TAG=2.6.0
PROMTAIL_IMAGE_TAG=2.6.0
GRAFANA_IMAGE_TAG=latest

#PACS DB Server Environment Variables
PACS_DB_HOST=pacsdb
PACS_DB_PORT=5432
Expand Down
2 changes: 1 addition & 1 deletion bahmni-standard/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ x-default-logging: &default
x-loki-logging: &loki
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-url: ${LOKI_URL:?}
mode: non-blocking
max-buffer-size: 4m
loki-retries: "3"
Expand Down
16 changes: 0 additions & 16 deletions logging/datasource.yml

This file was deleted.

33 changes: 0 additions & 33 deletions logging/docker-compose.yml

This file was deleted.

51 changes: 0 additions & 51 deletions logging/loki-config.yaml

This file was deleted.

0 comments on commit 4bf28c4

Please sign in to comment.