From 68f9df3a7eef255938c78d074e01af14b62f9643 Mon Sep 17 00:00:00 2001 From: Josep Boix Requesens Date: Tue, 15 Oct 2024 14:04:43 +0200 Subject: [PATCH] feat: update environment variables Changed environment variables from `QOS` to `MONITORING`. --- docker-compose.yml | 2 +- .../20-pillarbox-monitoring-app/data_transfer_service.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 48a86b9..800e838 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: - "8081:8081" environment: - PILLARBOX_MONITORING_OPENSEARCH_URI=http://opensearch:9200 - - PILLARBOX_MONITORING_SSE_URI=http://pillarbox-event-dispatcher:8080/events + - PILLARBOX_MONITORING_DISPATCH_URI=http://pillarbox-event-dispatcher:8080/events opensearch: image: opensearchproject/opensearch:2.15.0 diff --git a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf index 89b7b7b..fd161ef 100644 --- a/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf +++ b/pillarbox-monitoring-terraform/20-pillarbox-monitoring-app/data_transfer_service.tf @@ -65,7 +65,7 @@ resource "aws_ecs_task_definition" "transfer_task" { # Environment variables for connecting to SSE and OpenSearch services environment = [ { - name = "PILLARBOX_MONITORING_SSE_URI" + name = "PILLARBOX_MONITORING_DISPATCH_URI" value = "http://${aws_service_discovery_service.dispatch_service_discovery.name}.${aws_service_discovery_private_dns_namespace.service_discovery_namespace.name}:8080/events" }, {