fix: the traefik forward label should be in the tinyauth container

This commit is contained in:
Stavros
2025-02-09 13:35:23 +02:00
parent 6936987c6b
commit a8da813374
2 changed files with 2 additions and 4 deletions

View File

@@ -7,8 +7,6 @@ services:
- 80:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock
labels:
traefik.http.middlewares.tinyauth.forwardauth.address: http://tinyauth:3000/api/auth
nginx:
container_name: nginx
@@ -32,3 +30,4 @@ services:
traefik.enable: true
traefik.http.routers.tinyauth.rule: Host(`tinyauth.dev.local`)
traefik.http.services.tinyauth.loadbalancer.server.port: 3000
traefik.http.middlewares.tinyauth.forwardauth.address: http://tinyauth:3000/api/auth/traefik