This massive refactor transitions the project from a custom-scripted
multi-stack deployment into a unified, standard Docker Compose
architecture. This heavily simplifies GitOps workflows and native
NixOS systemd integration.
- Merge all infrastructure and portal compose files into a root docker-compose.yml
- Consolidate all service configurations and databases into a single ./config/ directory
- Remove brittle up.sh and down.sh orchestration scripts
- Fix Authelia templating by enabling X_AUTHELIA_CONFIG_FILTERS=template
- Replace all hardcoded domain names with dynamic ${DOMAIN} variables
- Archive legacy HTML documentation and architecture notes to docs/legacy/
- Introduce setup_guide.md as the single source of truth for SOPS secrets and NixOS deployment
44 lines
854 B
YAML
44 lines
854 B
YAML
server:
|
|
address: tcp://0.0.0.0:9091
|
|
|
|
log:
|
|
level: info
|
|
|
|
totp:
|
|
issuer: authelia.com
|
|
|
|
authentication_backend:
|
|
file:
|
|
path: /config/users.yml
|
|
|
|
access_control:
|
|
default_policy: deny
|
|
rules:
|
|
- domain: 'auth.{{ env "DOMAIN" }}'
|
|
policy: bypass
|
|
- domain: '*.{{ env "DOMAIN" }}'
|
|
policy: one_factor
|
|
|
|
session:
|
|
name: authelia_session
|
|
secret: '{{ env "AUTHELIA_SESSION_SECRET" }}'
|
|
expiration: 3600
|
|
inactivity: 300
|
|
remember_me: 1M
|
|
cookies:
|
|
- domain: '{{ env "DOMAIN" }}'
|
|
authelia_url: 'https://auth.{{ env "DOMAIN" }}'
|
|
|
|
identity_validation:
|
|
reset_password:
|
|
jwt_secret: '{{ env "AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET" }}'
|
|
|
|
storage:
|
|
local:
|
|
path: /config/db.sqlite3
|
|
encryption_key: '{{ env "AUTHELIA_STORAGE_ENCRYPTION_KEY" }}'
|
|
|
|
notifier:
|
|
filesystem:
|
|
filename: /config/emails.txt
|