This commit is contained in:
mr 2024-10-30 17:10:36 +01:00
parent 5167726f68
commit edb6303630

View File

@ -7,9 +7,12 @@ services:
image: 'oc-peer:latest'
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.peer.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.middlewares.peer.forwardauth.authResponseHeaders=X-Forwarded-User"
- "traefik.http.services.peer.loadbalancer.server.port=8080"
- "traefik.http.routers.peer.entrypoints=web"
- "traefik.http.routers.peer.rule=Host(`localhost`)"
- "traefik.routers.peer.rule=Path(/peer)"
- "traefik.http.routers.peer.tls=false"
- "traefik.http.services.peer.loadbalancer.server.port=80"
- "traefik.http.routers.peer.middlewares=auth"
ports:
- 8093:8080
container_name: oc-peer