Files
mediastack/docker/docker-compose-authelia.yaml
2025-02-25 20:00:50 +01:00

31 lines
1.1 KiB
YAML

###########################################################################
###########################################################################
##
## Docker Compose File: Authelia (Authelia)
## Function: Multi-factor authentication portal for your Apps
##
## Documentation: https://hub.docker.com/r/authelia/authelia
## https://www.authelia.com/integration/prologue/get-started/
## https://www.linuxserver.io/blog/zero-trust-hosting-and-reverse-proxy-via-cloudflare-swag-and-authelia
##
###########################################################################
###########################################################################
services:
authelia:
image: ghcr.io/authelia/authelia:latest
container_name: authelia
volumes:
- ${FOLDER_FOR_DATA:?err}/authelia:/config
environment:
- PUID=${PUID:?err}
- PGID=${PGID:?err}
- UMASK=${UMASK:?err}
- TZ=${TIMEZONE:?err}
restart: unless-stopped
# NOTE: Authelia MUST NOT connect to the Gluetun VPN container
networks:
default:
name: mediastack
external: true