Bugfix: cross origins of exporter

This commit is contained in:
juarez 2023-04-11 15:57:12 +02:00
parent c836a7554f
commit b0da23ac1c
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ services:
environment: environment:
LOG_LEVEL: "INFO" LOG_LEVEL: "INFO"
EXPORTER_API_KEY: "${EXPORTER_API_KEY}" EXPORTER_API_KEY: "${EXPORTER_API_KEY}"
CROSS_ORIGINS: "https://${HOST}/ccp-teiler-root-config" CROSS_ORIGINS: "https://${HOST}"
EXPORTER_DB_USER: "exporter" EXPORTER_DB_USER: "exporter"
EXPORTER_DB_PASSWORD: "${EXPORTER_DB_PASSWORD}" # Set in exporter-setup.sh EXPORTER_DB_PASSWORD: "${EXPORTER_DB_PASSWORD}" # Set in exporter-setup.sh
EXPORTER_DB_URL: "jdbc:postgresql://exporter-db:5432/exporter" EXPORTER_DB_URL: "jdbc:postgresql://exporter-db:5432/exporter"
@ -16,6 +16,7 @@ services:
CLEAN_WRITE_FILES_CRON_EXPRESSION: "0 0 2 * * *" CLEAN_WRITE_FILES_CRON_EXPRESSION: "0 0 2 * * *"
WRITE_FILES_LIFETIME_IN_DAYS: "30" WRITE_FILES_LIFETIME_IN_DAYS: "30"
HTTP_RELATIVE_PATH: "/ccp-exporter" HTTP_RELATIVE_PATH: "/ccp-exporter"
HTTP_SERVLET_REQUEST_SCHEME: "https"
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.exporter_ccp.rule=PathPrefix(`/ccp-exporter`)" - "traefik.http.routers.exporter_ccp.rule=PathPrefix(`/ccp-exporter`)"