mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
efb567f3d5
Suites cannot be run locally anymore following the move of the example directory into the suites directory.
25 lines
803 B
YAML
25 lines
803 B
YAML
version: '3'
|
|
services:
|
|
authelia-backend:
|
|
build:
|
|
context: example/compose/authelia
|
|
dockerfile: Dockerfile.backend
|
|
args:
|
|
USER_ID: ${USER_ID}
|
|
GROUP_ID: ${GROUP_ID}
|
|
command: /resources/entrypoint-backend.sh
|
|
working_dir: /app
|
|
volumes:
|
|
- './example/compose/authelia/resources/:/resources'
|
|
- '../..:/app'
|
|
- '${GOPATH}:/go'
|
|
labels:
|
|
- 'traefik.frontend.rule=Host:login.example.com;PathPrefix:/api'
|
|
- 'traefik.http.routers.authelia_backend.rule=Host(`login.example.com`) && PathPrefix(`/api`)'
|
|
- 'traefik.http.routers.authelia_backend.entrypoints=https'
|
|
- 'traefik.http.routers.authelia_backend.tls=true'
|
|
environment:
|
|
- ENVIRONMENT=dev
|
|
networks:
|
|
authelianet:
|
|
ipv4_address: 192.168.240.50 |