Add stripprefix to teiler-core

This commit is contained in:
juarez 2023-03-16 10:19:07 +01:00
parent 4baa81e8aa
commit 6c1e22b526
1 changed files with 3 additions and 1 deletions

View File

@ -73,12 +73,14 @@ services:
image: teiler-core
container_name: bridgehead-teiler-core
volumes:
- "/etc/bridgehead/ccp.conf:/app/ccp.conf"
- "/etc/bridgehead/ccp.conf:/app/ccp.conf:ro"
labels:
- "traefik.enable=true"
- "traefik.http.routers.teiler_core_ccp.rule=PathPrefix(`/ccp-teiler-core`)"
- "traefik.http.services.teiler_core_ccp.loadbalancer.server.port=8085"
- "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:
LOG_LEVEL: "INFO"
APPLICATION_PORT: "8085"