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
22 lines
753 B
YAML
22 lines
753 B
YAML
---
|
|
version: '3'
|
|
services:
|
|
authelia-frontend:
|
|
image: nginx:alpine
|
|
volumes:
|
|
- './example/compose/authelia/resources/nginx.conf:/etc/nginx/nginx.conf'
|
|
labels:
|
|
# Traefik 1.x
|
|
- 'traefik.frontend.rule=Host:login.example.com'
|
|
# Traefik 2.x
|
|
- 'traefik.enable=true'
|
|
- 'traefik.http.routers.authelia_frontend.rule=Host(`login.example.com`) || Host(`login.example.com`) && PathPrefix(`${PathPrefix}/`)' # yamllint disable-line rule:line-length
|
|
- 'traefik.http.routers.authelia_frontend.entrypoints=https'
|
|
- 'traefik.http.routers.authelia_frontend.tls=true'
|
|
- 'traefik.http.services.authelia_frontend.loadbalancer.server.port=3000'
|
|
networks:
|
|
- authelianet
|
|
expose:
|
|
- 3000
|
|
...
|