diff --git a/CLAUDE.md b/CLAUDE.md index 1eff89f..16b216e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -82,7 +82,7 @@ subdomain. ### Docker role categories (`roles/docker/tasks//`) - **infrastructure/**: Caddy, Pocket ID, Dockge -- **development/**: Gitea (+ act_runner and rootless BuildKit; the runner has no Docker socket), ByteStash +- **development/**: Gitea (+ gitea/runner and rootless BuildKit; the runner has no Docker socket), ByteStash - **media/**: Audiobookshelf, Kavita, Karakeep (files named `hoarder`), Manyfold - **productivity/**: Paperless-ngx, Baikal, Syncthing, HeyForm, Dawarich, Obsidian LiveSync, Gokapi - **communication/**: GoToSocial, Listmonk, StarPunk (Micropub) diff --git a/roles/docker/README.md b/roles/docker/README.md index 5e79c9d..4436fae 100644 --- a/roles/docker/README.md +++ b/roles/docker/README.md @@ -31,7 +31,7 @@ Tags: each category file has a category tag, each service its own tag. ### Development (`development`) | Tag | Service | Notes | |---|---|---| -| `gitea` | Gitea + act_runner + BuildKit | Fixed IP 172.20.0.6 so the ufw-docker rule for SSH (host port 222) stays valid. Pocket ID login is set up in Gitea's admin UI; OpenID 2.0 login is off. Jobs run inside the runner container (label `docker:host`), which has the Caddy site folders at `/sites` but no Docker socket. Image builds use the rootless `buildkitd` container through `unix:///run/buildkit/buildkit/buildkitd.sock` (`docker buildx create --driver remote`). | +| `gitea` | Gitea (`latest`) + runner (`gitea/runner`) + BuildKit | Fixed IP 172.20.0.6 so the ufw-docker rule for SSH (host port 222) stays valid. Pocket ID login is set up in Gitea's admin UI; OpenID 2.0 login is off. Jobs run inside the runner container (label `docker:host`), which has the Caddy site folders at `/sites` but no Docker socket. Image builds use the rootless `buildkitd` container through `unix:///run/buildkit/buildkit/buildkitd.sock` (`docker buildx create --driver remote`). | | `bytestash` | ByteStash | Pocket ID through env vars. | ### Media (`media`) diff --git a/roles/docker/templates/gitea-compose.yml.j2 b/roles/docker/templates/gitea-compose.yml.j2 index db4e91f..6c59838 100644 --- a/roles/docker/templates/gitea-compose.yml.j2 +++ b/roles/docker/templates/gitea-compose.yml.j2 @@ -1,7 +1,9 @@ version: "3" services: server: - image: gitea/gitea:1 + # :latest crosses feature releases. Gitea renumbered 1.27 -> 28 and + # doesn't patch old lines, so a :28-style tag would freeze like :1 did. + image: gitea/gitea:latest container_name: gitea environment: - USER_UID=1000 @@ -16,6 +18,8 @@ services: # Legacy OpenID 2.0 login let anyone register despite DISABLE_REGISTRATION. Logins go through Pocket ID. - GITEA__openid__ENABLE_OPENID_SIGNIN=false - GITEA__openid__ENABLE_OPENID_SIGNUP=false + # v28 deletes Actions runs older than 400 days by default; keep them all + - GITEA__actions__RUN_RETENTION_DAYS=0 restart: unless-stopped labels: mag37.dockcheck.update: true @@ -34,7 +38,8 @@ services: ipv4_address: {{ docker.gitea_ip }} {% endif %} runner: - image: gitea/act_runner:nightly + # gitea/act_runner was renamed to gitea/runner (and stopped updating) + image: gitea/runner:latest restart: unless-stopped depends_on: - server