services:
authelia:
image: authelia/authelia
container_name: authelia
environment:
- TZ=Australia/Perth # Set to your timezone
- AUTHELIA_JWT_SECRET=VsZh6gYEtxoc2rCcp...........Xcpk6GaGbbSmnKRKWc
- AUTHELIA_SESSION_SECRET=DZXy4XtfzcawmaCNi..............tbr1DLZdg9JdIN9Y3a79ZIj
volumes:
- ./config:/config # Path to Authelia config file
- ./db:/var/lib/authelia/db
networks:
- authelia_net
ports:
- 9091:9091 # Expose port 9091 for Authelia
restart: unless-stopped
networks:
authelia_net:
external: true