23 lines
592 B
YAML
23 lines
592 B
YAML
services:
|
|
authelia:
|
|
image: authelia/authelia:latest
|
|
container_name: authelia
|
|
volumes:
|
|
# Config files are still mounted as volumes
|
|
- ./config/configuration.yml:/config/configuration.yml:ro
|
|
- ./config/users_database.yml:/config/users_database.yml:ro
|
|
|
|
# Persistent SQLite database directory
|
|
- ./db:/config/db
|
|
ports:
|
|
- '9091:9091'
|
|
environment:
|
|
- TZ=Etc/UTC
|
|
|
|
restart: always
|
|
healthcheck:
|
|
test: ["CMD", "authelia", "healthcheck"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 5s |