homelab-codex-ws/hosts/piha
Oskar Kapala f7e1391f30 feat(vikunja): bring PIHA Vikunja under GitOps (postgres + Forgejo OIDC)
Wraps the existing manually-run Vikunja instance on PIHA in the standard
service layout. No deploy — definition only, for review.

- services/vikunja/: docker-compose.yml (vikunja + postgres:16-alpine),
  service.yaml, README, healthcheck, config.yml (OIDC, secret-free),
  .env.example. Real .env stays gitignored.
- Pins EXISTING named volumes (vikunja_vikunja_db, vikunja_vikunja_files)
  so DB + uploaded files survive cutover.
- extra_hosts forgejo.okit.pl=192.168.31.5 (npm on PIHA) so OIDC discovery
  resolves over LAN instead of flaky public DNS.
- OIDC client secret injected via env (VIKUNJA_AUTH_OPENID_PROVIDERS_
  FORGEJO_CLIENTSECRET); config.yml keeps trailing-slash authurl/redirecturl.
- Registers vikunja in hosts/piha/services.yaml + inventory/topology.yaml,
  plus hosts/piha/runtime/vikunja override (advisory mem_limits).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 15:02:37 +02:00
..
runtime feat(vikunja): bring PIHA Vikunja under GitOps (postgres + Forgejo OIDC) 2026-06-17 15:02:37 +02:00
capabilities.yaml Add node capability model 2026-05-11 20:46:50 +02:00
host.yaml Add normalized host inventory skeletons 2026-05-10 22:12:36 +02:00
README.md Add infrastructure standards and deployment conventions 2026-05-07 21:16:03 +02:00
services.yaml feat(vikunja): bring PIHA Vikunja under GitOps (postgres + Forgejo OIDC) 2026-06-17 15:02:37 +02:00

PIHA - Infrastructure + Automation Node

Role

  • Core network services.
  • Home automation (Home Assistant).
  • Monitoring and logging.

Configured Services

  • Home Assistant
  • Mosquitto (MQTT)
  • Zigbee2MQTT

Runtime Data

  • /opt/homelab/data/homeassistant