From 57c9a22464831408fb9fa51f26decd26af4b207f Mon Sep 17 00:00:00 2001 From: ginnoir Date: Mon, 26 Oct 2026 02:37:50 -0500 Subject: [PATCH] docs: correct Caddy deploy runner names and timing in CLAUDE.md Either act_runner (gitea_runner = valhalla-dev-runner, gitea_runner_ci = valhalla-ci-runner-2) can pick up deploy-caddy.yml; checking only one container's logs looked like a missed trigger. Runners now have force_pull: false (host config) so a deploy takes ~25s instead of ~2min. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 67b282f..93207a1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -197,7 +197,7 @@ These run on valhalla but are managed outside of Portainer/Docker. - `Caddyfile` proxies `matrix.ginnoir.com → localhost:8008`, but there is **no Matrix/Synapse service in compose** — it's external/legacy. Likewise `dev.ginnoir.com → 192.168.1.74:3000` points at a different LAN host. - `watchtower` auto-updates `:latest` images, so a running image can drift ahead of what the last `apply` pulled. **Infra images** (Postgres, MariaDB, Redis, MinIO, CouchDB, Caddy, Vault) are **version-pinned** in compose with `com.centurylabs.watchtower.enable=false`; bump tags manually every few months. - Line endings: `.gitattributes` forces **LF** so files stay Unix-clean. Pushing CRLF (especially `stack.env`) to the Linux host appends stray `\r` to values and breaks things. -- **Caddyfile reloads** are handled by `.gitea/workflows/deploy-caddy.yml` (Gitea Actions, `valhalla-management-runner`). If Gitea Actions doesn't trigger, fall back to `apply-compose.ps1 -Caddy`. The GitHub workflow (`.github/workflows/deploy.yml`) is disabled. +- **Caddyfile reloads** are handled by `.gitea/workflows/deploy-caddy.yml` (Gitea Actions). Either runner container can take the job: `gitea_runner` (registered in Gitea as `valhalla-dev-runner`; the `GITEA_RUNNER_NAME` env is only read at first registration) or `gitea_runner_ci` (`valhalla-ci-runner-2`), so check both containers' logs, or better, the run list in Gitea. A deploy takes ~25s from the **push** (Gitea activity feed), not from the commit time. If Gitea Actions doesn't trigger, fall back to `apply-compose.ps1 -Caddy`. The GitHub workflow (`.github/workflows/deploy.yml`) is disabled. - **famapp images** are built by Gitea Actions on `v*` tags and pushed to `registry.ginnoir.com/ginnoir/famapp`. Portainer pulls from the self-hosted registry (registered in Portainer as "Valhalla Registry"). - **Portainer app stacks must have empty UI environment variables.** All stack config comes from `stack.env` via `env_file`. Run `scripts/check-portainer-stack-env.ps1` to verify before pushing.