oc-front/docker-compose.yml
2025-07-04 16:38:05 +02:00

21 lines
647 B
YAML

version: '3.4'
services:
oc-front:
image: oc-front
container_name: oc-front
ports:
- 8080:80
networks:
- oc
labels:
- "traefik.enable=true"
- "traefik.http.routers.front.entrypoints=web"
- "traefik.http.routers.front.rule=PathPrefix(`/`)"
- "traefik.http.services.front.loadbalancer.server.port=80"
- "traefik.http.middlewares.front-stripprefix.stripprefix.prefixes=/"
- "traefik.http.routers.front.middlewares=front-stripprefix"
- "traefik.http.middlewares.front.forwardauth.address=http://oc-auth:8080/oc/forward"
networks:
catalog:
external: true