From 2c4c44fbcadb1f5b508d9a62d5ace1e0d1554805 Mon Sep 17 00:00:00 2001 From: juarez Date: Tue, 11 Apr 2023 15:57:12 +0200 Subject: [PATCH] Bugfix: cross origins of exporter --- ccp/modules/exporter-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccp/modules/exporter-compose.yml b/ccp/modules/exporter-compose.yml index 04ae29d..3fb0a86 100644 --- a/ccp/modules/exporter-compose.yml +++ b/ccp/modules/exporter-compose.yml @@ -7,7 +7,7 @@ services: environment: LOG_LEVEL: "INFO" EXPORTER_API_KEY: "${EXPORTER_API_KEY}" - CROSS_ORIGINS: "https://${HOST}/ccp-teiler-root-config" + CROSS_ORIGINS: "https://${HOST}" EXPORTER_DB_USER: "exporter" EXPORTER_DB_PASSWORD: "${EXPORTER_DB_PASSWORD}" # Set in exporter-setup.sh EXPORTER_DB_URL: "jdbc:postgresql://exporter-db:5432/exporter" @@ -16,6 +16,7 @@ services: CLEAN_WRITE_FILES_CRON_EXPRESSION: "0 0 2 * * *" WRITE_FILES_LIFETIME_IN_DAYS: "30" HTTP_RELATIVE_PATH: "/ccp-exporter" + HTTP_SERVLET_REQUEST_SCHEME: "https" labels: - "traefik.enable=true" - "traefik.http.routers.exporter_ccp.rule=PathPrefix(`/ccp-exporter`)"