Files
nixos-core/infra/authelia/config/configuration.yml
T
kiskaadee 2469ce31de refactor(arch): reorganize services into apps and infra layers
This commit performs a major overhaul of the homeserver architecture,
transitioning from a flat service structure to a layered approach that
separates user-facing applications from core infrastructure.

Key Changes:
- Reorganized directory structure:
  - Moved application services (Gitea, Ollama, Excalidraw, etc.) to 'apps/'.
  - Moved core infrastructure (Traefik, Authelia, Portainer, etc.) to 'infra/'.
- Replaced the custom Python dashboard with 'homepage' for centralized
  service discovery and health monitoring.
- Expanded infrastructure capabilities:
  - Integrated Authelia for centralized authentication and SSO.
  - Added Portainer for container management and Watchtower for updates.
  - Implemented Diun for image update notifications.
- Modernized gateway configuration:
  - Relocated Traefik configuration to 'infra/core/'.
  - Standardized environment variables via 'infra/core/.env-example'.
- Optimized lifecycle management:
  - Rewrote 'up.sh' and 'down.sh' to handle the new directory hierarchy
    with support for '--infra-only' deployments.
- Security and Documentation:
  - Added SECURITY.md and updated README.md to reflect the new architecture.
  - Hardened .gitignore to exclude application logs and sensitive data.
2026-05-12 18:06:01 -05:00

44 lines
880 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.arch-services.mywire.org"
policy: bypass
- domain: "*.arch-services.mywire.org"
policy: one_factor
session:
name: authelia_session
secret: "{{ env \"AUTHELIA_SESSION_SECRET\" }}"
expiration: 3600
inactivity: 300
remember_me: 1M
cookies:
- domain: arch-services.mywire.org
authelia_url: https://auth.arch-services.mywire.org
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