mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 08:18:10 +01:00
The product, its assistant, the repo, the host and every unit on the box now share one name. 638 files, ~3,000 mentions: UI copy, config, env keys (FLEETCROWN_* -> LOKI_*), systemd units (fleetcrown-* -> loki-*), docs, articles, the deploy workflow other repos reuse, and nine file names. - Three article slugs carried the old name and had been shared; permanent redirects keep those links alive (next.config.ts). - test-no-retired-name.sh now also forbids the old product name across the whole repo, so the rename cannot creep back through templates and examples. - ASSISTANT_STACK collapses the product and the assistant into one entry, because they are now the same name. Infra was cut over ahead of this merge: /opt/loki, loki-* units, the `loki` database and role, loki.orangecat.ch (old host 308s to it; /api, /widget, /embed keep proxying), GitHub repos bitbaum/loki and bitbaum/loki-releases. The Resend sending domain stays fleetcrown.orangecat.ch until the new domain is verified in DNS. Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Handcrafted box units + Caddy config
These are the handcrafted artifacts on the bitbaum Hetzner box that
sync-infra.sh deliberately does not generate (it skips loki-app
and owns only the other apps' units/vhosts). They were previously live-on-box
only — unauditable and unrecoverable if the disk died. Captured here for
recoverability + review.
| File | Box path | Owner |
|---|---|---|
loki-app.service |
/etc/systemd/system/loki-app.service |
prod Next server, port 4002 |
Caddyfile.snippet |
blocks inside /etc/caddy/Caddyfile |
loki + bridge vhosts |
These are reference copies, not auto-applied. Changing a file here does not change the box. To apply a change:
# systemd unit
scp scripts/hetzner/box-units/loki-app.service root@167.233.22.31:/etc/systemd/system/
ssh root@167.233.22.31 'systemctl daemon-reload && systemctl restart loki-app'
# Caddy: edit the live /etc/caddy/Caddyfile to match the snippet, then
ssh root@167.233.22.31 'caddy validate --config /etc/caddy/Caddyfile && systemctl reload caddy'
If you edit the live box config, update these files in the same commit so they
never drift. verify.sh asserts the load-bearing invariant (the bridge SSE
block stays encode-free).