Fixed traefik calling wrong endpoint for auth
parent
4afe9fcda5
commit
9b08ad8430
|
@ -11,6 +11,7 @@ services:
|
||||||
- publish
|
- publish
|
||||||
- subscribe
|
- subscribe
|
||||||
- transcription
|
- transcription
|
||||||
|
- auth
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
@ -106,7 +107,7 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- LISTEN=127.0.0.1:10205
|
- LISTEN=0.0.0.0:10205
|
||||||
- SECRET=secret
|
- SECRET=secret
|
||||||
ports:
|
ports:
|
||||||
- "10205:10205" # Remove this for production
|
- "10205:10205" # Remove this for production
|
||||||
|
|
|
@ -5,7 +5,7 @@ dashboard = true
|
||||||
[entryPoints.http]
|
[entryPoints.http]
|
||||||
address = ":80"
|
address = ":80"
|
||||||
[entryPoints.http.auth.forward]
|
[entryPoints.http.auth.forward]
|
||||||
address = "http://auth:10205"
|
address = "http://auth:10205/auth"
|
||||||
trustForwardHeader = true
|
trustForwardHeader = true
|
||||||
authResponseHeaders = [ "X-User-Claim" ]
|
authResponseHeaders = [ "X-User-Claim" ]
|
||||||
[entryPoints.login]
|
[entryPoints.login]
|
||||||
|
|
Loading…
Reference in New Issue