version: '3.4' services: oc-front: image: oc-front container_name: oc-front ports: - 8080:80 networks: - catalog 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