mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
72ec9713b3
* build(deps): update traefik docker tag * fix(suites): fix traefik2 empty args for matcher PathPrefix Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
27 lines
849 B
YAML
27 lines
849 B
YAML
version: '3'
|
|
services:
|
|
authelia-frontend:
|
|
build:
|
|
context: example/compose/authelia
|
|
dockerfile: Dockerfile.frontend
|
|
args:
|
|
USER_ID: ${USER_ID}
|
|
GROUP_ID: ${GROUP_ID}
|
|
command: '/resources/entrypoint-frontend.sh'
|
|
working_dir: /app
|
|
stdin_open: true
|
|
volumes:
|
|
- './example/compose/authelia/resources/:/resources'
|
|
- '../../web:/app'
|
|
labels:
|
|
# Traefik 1.x
|
|
- 'traefik.frontend.rule=Host:login.example.com'
|
|
# Traefik 2.x
|
|
- 'traefik.http.routers.authelia_frontend.rule=Host(`login.example.com`) || Host(`login.example.com`) && PathPrefix(`${PathPrefix}/`)'
|
|
- 'traefik.http.routers.authelia_frontend.entrypoints=https'
|
|
- 'traefik.http.routers.authelia_frontend.tls=true'
|
|
environment:
|
|
- PUBLIC_URL=${PathPrefix}
|
|
networks:
|
|
- authelianet
|