Add stripprefix to teiler-core

This commit is contained in:
juarez 2023-03-16 10:19:07 +01:00
parent d915debbbb
commit 8e591773f4
1 changed files with 3 additions and 1 deletions

View File

@ -73,12 +73,14 @@ services:
image: teiler-core image: teiler-core
container_name: bridgehead-teiler-core container_name: bridgehead-teiler-core
volumes: volumes:
- "/etc/bridgehead/ccp.conf:/app/ccp.conf" - "/etc/bridgehead/ccp.conf:/app/ccp.conf:ro"
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.teiler_core_ccp.rule=PathPrefix(`/ccp-teiler-core`)" - "traefik.http.routers.teiler_core_ccp.rule=PathPrefix(`/ccp-teiler-core`)"
- "traefik.http.services.teiler_core_ccp.loadbalancer.server.port=8085" - "traefik.http.services.teiler_core_ccp.loadbalancer.server.port=8085"
- "traefik.http.routers.teiler_core_ccp.tls=true" - "traefik.http.routers.teiler_core_ccp.tls=true"
- "traefik.http.middlewares.teiler_core_ccp_strip.stripprefix.prefixes=/ccp-teiler-core"
- "traefik.http.routers.teiler_core_ccp.middlewares=teiler_core_ccp_strip"
environment: environment:
LOG_LEVEL: "INFO" LOG_LEVEL: "INFO"
APPLICATION_PORT: "8085" APPLICATION_PORT: "8085"