Add http scheme to exporter

This commit is contained in:
juarez 2023-07-18 10:54:24 +02:00
parent 8cecb2cd47
commit 5684307539
1 changed files with 5 additions and 4 deletions

View File

@ -25,8 +25,8 @@ services:
- "traefik.http.routers.exporter_ccp.tls=true" - "traefik.http.routers.exporter_ccp.tls=true"
- "traefik.http.middlewares.exporter_ccp_strip.stripprefix.prefixes=/ccp-exporter" - "traefik.http.middlewares.exporter_ccp_strip.stripprefix.prefixes=/ccp-exporter"
- "traefik.http.routers.exporter_ccp.middlewares=exporter_ccp_strip" - "traefik.http.routers.exporter_ccp.middlewares=exporter_ccp_strip"
# volumes: # volumes:
# - "bridgehead-exporter:/app/exporter-files" # - "bridgehead-exporter:/app/exporter-files"
exporter-db: exporter-db:
image: postgres:15.1-alpine image: postgres:15.1-alpine
@ -49,8 +49,9 @@ services:
EXPORTER_API_KEY: "${EXPORTER_API_KEY}" EXPORTER_API_KEY: "${EXPORTER_API_KEY}"
EXPORTER_URL: "http://exporter:8092" EXPORTER_URL: "http://exporter:8092"
LOG_FHIR_VALIDATION: "false" LOG_FHIR_VALIDATION: "false"
# volumes: HTTP_SERVLET_REQUEST_SCHEME: "https"
# - "bridgehead-reporter:/app/reports" # volumes:
# - "bridgehead-reporter:/app/reports"
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.reporter_ccp.rule=PathPrefix(`/ccp-reporter`)" - "traefik.http.routers.reporter_ccp.rule=PathPrefix(`/ccp-reporter`)"