refactor: split Caddyfile into per-host configs with shared snippets

Structure:
  shared/authentik  - forward-auth proxy + authentik snippet (both hosts)
  hosts/hubris/      - git, mcp, oikos, paperless, cloud, photos, etc.
  hosts/strong/      - media, books, roms, jellyseerr, qbit, sab, matrix, etc.

Each host imports /etc/caddy/shared/* at the top of its Caddyfile.
Systemd overrides point to hosts/<hostname>/Caddyfile.

Deploy workflow: git push → webhook → caddy reload
This commit is contained in:
root
2026-08-12 14:37:30 +02:00
parent 86e727255b
commit 2c418d395d
4 changed files with 352 additions and 0 deletions

1
caddy.env.example Normal file
View File

@@ -0,0 +1 @@
IONOS_AUTH_API_TOKEN=your_token_here