This commit restructures the homeserver repository to isolate the core gateway and management tools (Control Plane) from user applications (Data Plane). This allows applications to have independent lifecycles and CI/CD pipelines, preventing git history contamination.
- Relocated user applications (excalidraw, gitea, jellyfin, learning-hub, mermaid, ollama) to an external deployments directory.
- Moved homepage to the root directory as a core server component and removed the empty apps directory.
- Streamlined up.sh and down.sh to deploy and stop only core services and homepage, removing --infra-only parameters.
- Replaced all hardcoded domain names with a configurable global DOMAIN environment variable in docker-compose files.
- Used Authelia templating ({{ env "DOMAIN" }}) in configuration.yml to dynamically resolve SSO cookie domains and redirection URLs.
- Updated up.sh and down.sh helpers to explicitly pass env files via --env-file flags, resolving compose interpolation warnings.
- Created a declarative NixOS module (infra/nixos/dynu-ddns.nix) to orchestrate the Dynu DDNS update script.
- Created Authelia .env-example template for setup reproducibility.
- Refactored .gitignore to exclude obsolete app cache rules and keep it minimal to core secrets, volumes, and logs.
- Updated documentation (README, architecture, roadmap, usability) to document decoupled deployments and public/SSO service templates.
44 lines
868 B
YAML
44 lines
868 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
|