Commit Graph

13 Commits

Author SHA1 Message Date
jv fe661f9b24 Add Matrix/Hermes/Omniroute to jeannie pipeline (SOPS-encrypted secrets)
Codify the full Matrix homeserver stack, OmniRoute LLM gateway, and
Hermes agent into the Jeannie deploy pipeline so the repo reproduces
the running homelab from scratch.

New files:
  infra/matrix-server/  — Synapse + Postgres + Element docker-compose,
    homeserver.yaml.tpl, log_config, element config, bootstrap.sh
  infra/omniroute/      — diegosouzapw/omniroute:latest on port 20128
  infra/hermes.secret.yaml   — SOPS-encrypted bot password + API key
  infra/matrix-server/matrix.secret.yaml — SOPS-encrypted Synapse secrets
  .sops.yaml            — age recipient + encrypted_regex: '.*'

jeannie additions:
  deploy_matrix()  — renders homeserver.yaml from template, creates
    signing key via 'generate' on first boot, delegates to bootstrap.sh
  deploy_omniroute() — docker compose up with env-file support
  deploy_hermes()  — git clone + venv + 'hermes gateway install',
    writes ~/.hermes/.env (mode 600), registers non-admin bot via
    shared-secret CLI, idempotent
  sops_load_secrets() — decrypts *.secret.yaml via age key at deploy
    time; fails loudly if the age key is missing
  ensure_sops_age_tools() — installs sops from getsops GitHub release
    when apt has no sops package (Debian trixie)

DAG: hermes-deploy depends on matrix-deploy + omniroute-deploy.

Root cause: deploy_hermes previously used wrong entrypoint (python
module instead of ./hermes launcher); generate was called with
--generate-config (invalid subcommand); .sops.yaml encrypted_regex
'^password$' left prefixed keys as plaintext — all fixed in this
commit.
2026-09-16 11:37:13 -05:00
juvdiaz 140fc63a5f Moving heimdall outside k8s 2026-07-02 15:49:00 -06:00
juvdiaz 04d5b259c0 Update docker root dir in rpi 2026-07-02 09:02:52 -06:00
juvdiaz 3c24f05ff6 Allow Debian Docker root on NVMe root filesystem 2026-06-29 11:14:59 -06:00
juvdiaz 61db0ce277 Normalize Ollama host configuration 2026-06-28 00:19:24 -06:00
juvdiaz 5504dd7b2e Manage Ollama setup for homelab host 2026-06-27 23:55:21 -06:00
juvdiaz 172bcca975 Add optional homelab AI knowledge index 2026-06-27 23:14:27 -06:00
juvdiaz 8488c9523e Add backstage Ollama helper for diagnostics 2026-06-27 17:56:15 -06:00
juvdiaz acb6817c98 Add repo-managed Tailscale ACL policy 2026-06-27 17:46:21 -06:00
juvdiaz f38b065599 Expand PXE provisioning rescue menu 2026-06-27 17:40:04 -06:00
juvdiaz e4b2057f15 Centralize homelab inventory preflight and pihole state 2026-06-27 16:55:28 -06:00
juvdiaz 6070493b1b Seed Uptime Kuma monitors 2026-06-27 16:43:51 -06:00
juvdiaz d5ff049cae Add homelab inventory 2026-06-27 16:31:04 -06:00