Bugfix: cross origins of exporter

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

View File

@ -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`)"