mirror of
https://codeberg.org/anton_bauer/home-server.git
synced 2026-11-23 06:44:17 +01:00
No description
- Rust 61.4%
- Shell 20.1%
- Python 18.3%
- Go Template 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Tier 2: Mealie v3.29.0 -> v3.30.0, Prometheus v3.15.1 -> v3.16.0. Mealie 3.30 requires can_organize for managing units/tools (the recipe-import key's user is admin with canOrganize; units, foods, tools and recipes endpoints verified); DB_ENGINE no longer falls back to SQLite (set to postgres); OPENAI_CUSTOM_PROMPT_DIR removed (not used). Prometheus 3.16 drops remote-write 2.0 metadata metrics (no remote_write in use); all 6 scrape targets up. Tier 3: Immich v3.3.5 -> v3.3.6 (disables onnxruntime telemetry in ML; migrations ran, no schema drift), Synapse v1.164.1 -> v1.164.2 (no upgrade notes for 1.164.x; SSO login flow verified), Seafile 13.0.28 -> 13.0.29 (security release: XSS, privilege bypass, API SQL injection, SSRF, share-boundary fixes; minor-upgrade script completed). Forgejo 16.0.7 -> 17.0.1, rolled out on its own: 16.0 reached EOL on 2026-10-29; a maintainer confirmed on #14866 that 17.0.1 fixes the 17.0.0 push/merge "cannot lock ref" regression (#14869), and the push-mirror regression #14882 is fixed by #14885. 17.0 parses config durations strictly (app.ini sets none), renames the default log file (logs go to console), resolves absolute links in rendered repo docs against the repo root, and requires the JWT exp claim. Healthz passes and the Authelia OIDC login redirect works. The startup warning "Unable to register source: authelia" is a pre-existing race (Forgejo starts before Traefik's authelia alias) that also occurs on 16.0.7. Deferred: Seafile 14 (14.0.9 is labelled beta upstream; also needs seafdav.conf/seahub_settings.py edits), MariaDB 11.8 LTS -> 13 (schema-owning DB major, not requested). Claude-Session: https://claude.ai/code/session_018y76pF6sZfzTYiYEBhsV56 |
||
| .claude/skills | ||
| cli | ||
| docs | ||
| scripts | ||
| services | ||
| systemd | ||
| tests | ||
| .gitignore | ||
| CLAUDE.md | ||
| compose.yaml | ||
| README.md | ||
| todos.md | ||
Nocturnal Home Server
Documentation
- Installation — first-time provisioning checklist
- Administration — day-to-day operations and
hctlcommand reference - Architecture — auth flows, network layout, and secrets reference
- Contributing — branching, commit, and release conventions
- Recipe import — nightly Immich → Mealie recipe import
Architecture
Every web service joins the proxy network and is routed by Traefik; each stack also has its
own internal network. Simplified view:
graph TD
Internet["🌐 Internet"] --> Traefik
subgraph proxy["proxy network"]
Traefik["Traefik\nreverse proxy + SSL"]
Authelia["Authelia\nauthelia.nocturnal-home.de"]
LLDAP["LLDAP\nlldap.nocturnal-home.de"]
Radicale["Radicale\nradicale.nocturnal-home.de"]
Firefly["Firefly III\nbudget.nocturnal-home.de"]
Importer["Firefly Importer\nimporter.nocturnal-home.de"]
Grafana["Grafana\ngrafana.nocturnal-home.de"]
Whoami["Whoami\nwhoami.nocturnal-home.de"]
Homepage["Homepage\nhome.nocturnal-home.de"]
Synapse["Synapse\nchat.nocturnal-home.de"]
Element["Element\nchat.nocturnal-home.de"]
SynapseAdmin["Synapse Admin\nmatrix-admin.nocturnal-home.de"]
Immich["Immich\nphotos.nocturnal-home.de"]
Seafile["Seafile\ndrive.nocturnal-home.de"]
Mealie["Mealie\nmeals.nocturnal-home.de"]
Forgejo["Forgejo\ngit.nocturnal-home.de"]
Jellyfin["Jellyfin\nmedia.nocturnal-home.de"]
end
subgraph postgres_net["postgres network"]
Postgres[("postgres\nShared PostgreSQL")]
end
subgraph lldap_net["lldap network"]
LLDAP
end
subgraph authelia_net["authelia network"]
Authelia
Redis[("iam-redis\nRedis")]
end
subgraph finance_net["finance network"]
Firefly
Importer
end
Ofelia["ofelia-finance\ncron scheduler\n(via Podman socket)"]
subgraph monitoring_net["monitoring network"]
Grafana
Prometheus["Prometheus"]
Loki["Loki"]
Alloy["Alloy"]
NodeExporter["Node Exporter"]
Cadvisor["cAdvisor"]
end
subgraph messaging_net["messaging network"]
Synapse
Coturn["Coturn\nSTUN/TURN"]
TelegramBridge["mautrix-telegram"]
WhatsAppBridge["mautrix-whatsapp"]
end
subgraph photos_net["photos network"]
Immich
ImmichML["Immich ML"]
ImmichPostgres[("immich-postgres")]
ImmichRedis[("immich-redis\nValkey")]
end
subgraph filestore_net["filestore network"]
Seafile
SeafileDB[("seafile-db\nMariaDB")]
SeafileRedis[("seafile-redis\nValkey")]
end
Traefik -- "forward-auth" --> Authelia
Authelia -- "LDAP :3890" --> LLDAP
Authelia --- Redis
Authelia --- Postgres
LLDAP --- Postgres
Ofelia -- "cron trigger" --> Firefly
Ofelia -- "cron trigger" --> Importer
Importer -- "API" --> Firefly
Firefly --- Postgres
Grafana --- Prometheus
Grafana --- Loki
Loki --- Alloy
Prometheus --- NodeExporter
Prometheus --- Cadvisor
Synapse -- "OIDC" --> Authelia
Synapse --- Postgres
Synapse --- TelegramBridge
Synapse --- WhatsAppBridge
TelegramBridge --- Postgres
WhatsAppBridge --- Postgres
Immich -- "OIDC" --> Authelia
Immich --- ImmichPostgres
Immich --- ImmichRedis
Immich --- ImmichML
Seafile -- "OIDC" --> Authelia
Seafile --- SeafileDB
Seafile --- SeafileRedis
Mealie -- "OIDC" --> Authelia
Mealie --- Postgres
Forgejo -- "OIDC" --> Authelia
Forgejo --- Postgres
Radicale -- "LDAP :3890" --> LLDAP
Jellyfin -- "LDAP :3890" --> LLDAP
Active Services
Infrastructure
- PostgreSQL - Shared database instance (LLDAP, Authelia, Firefly III, Synapse, both bridges, Mealie, Forgejo)
- Location:
services/00_postgres/
- Location:
- Traefik - Reverse proxy with automatic HTTPS/SSL via Let's Encrypt; also runs Whoami (forward-auth test page)
- Location:
services/00_reverse-proxy/
- Location:
- LLDAP - Lightweight LDAP server for centralized user management
- Authelia - SSO and authentication with OIDC support
- Location (both):
services/01_iam/
- Location (both):
- Monitoring stack - Prometheus, Grafana, Loki, Alloy, Node Exporter, cAdvisor
- Location:
services/05_monitoring/
- Location:
Applications
- Homepage - Service dashboard (forward-auth protected)
- Location:
services/06_homepage/
- Location:
- Radicale - CalDAV/CardDAV server for calendars and contacts (LDAP-integrated)
- Location:
services/02_webdav/
- Location:
- Firefly III - Personal finance manager with Authelia forward auth; includes data importer and ofelia cron scheduler
- Location:
services/03_finance/
- Location:
- Matrix/Synapse - Matrix homeserver with Element web client, Coturn STUN/TURN, and Synapse Admin (OIDC via Authelia)
- Location:
services/07_messaging/
- Location:
- mautrix bridges - Telegram and WhatsApp bridges for Matrix
- Location:
services/09_telegram-bridge/,services/10_whatsapp-bridge/
- Location:
- Immich - Photo and video management (OIDC via Authelia, own PostgreSQL)
- Location:
services/08_photos/
- Location:
- Seafile - File sync and share (OIDC via Authelia, own MariaDB)
- Location:
services/11_filestore/
- Location:
- Mealie - Recipe manager (OIDC via Authelia); fed nightly by the recipe import
- Location:
services/12_meals/
- Location:
- Forgejo - Git forge, SSH on port 2222 (OIDC via Authelia)
- Location:
services/13_git/
- Location:
- Jellyfin - Media server (authenticates directly against LLDAP, not via Authelia)
- Location:
services/14_media/
- Location: