mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
91c0c81818
* refactor(suites): stop integration tests on first failure * refactor(suites): remove additional nginx instance * refactor(suites): log relevant containers * refactor(suites): add traefik2 logs to stdout * refactor(suites): explicitly enable traefik for tests * refactor(suites): remove redis restart and duplicate pathprefix tests * ci(buildkite): allow manual retry on integration tests
23 lines
927 B
YAML
23 lines
927 B
YAML
---
|
|
version: '3'
|
|
services:
|
|
httpbin:
|
|
image: citizenstig/httpbin
|
|
networks:
|
|
- authelianet
|
|
labels:
|
|
# Traefik 1.x
|
|
- 'traefik.frontend.rule=Host:public.example.com;Path:/headers'
|
|
- 'traefik.frontend.priority=120'
|
|
- 'traefik.frontend.auth.forward.address=https://authelia-backend:9091/api/verify?rd=https://login.example.com:8080/'
|
|
- 'traefik.frontend.auth.forward.tls.insecureSkipVerify=true'
|
|
- 'traefik.frontend.auth.forward.trustForwardHeader=true'
|
|
- 'traefik.frontend.auth.forward.authResponseHeaders=Remote-User, Remote-Groups, Remote-Name, Remote-Email'
|
|
# Traefik 2.x
|
|
- 'traefik.enable=true'
|
|
- 'traefik.http.routers.httpbin.rule=Host(`public.example.com`) && Path(`/headers`)'
|
|
- 'traefik.http.routers.httpbin.priority=150'
|
|
- 'traefik.http.routers.httpbin.tls=true'
|
|
- 'traefik.http.routers.httpbin.middlewares=authelia@docker'
|
|
...
|