This repository has been archived on 2026-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Claude 862dc370f7
fix(gitea): use /data volume path for the non-rootless image
The 1.22 (non-rootless) image expects everything under /data
(/data/gitea/conf/app.ini, /data/git/repositories, etc.). I'd
configured the rootless paths (/var/lib/gitea + /etc/gitea), so
the app.ini that gitea writes on first boot landed in the
container's ephemeral fs instead of the host volume. Result:
'docker exec gitea gitea admin user create' could not find the
config and bailed with 'Unable to load config file for a installed
Gitea instance'.

Also set GITEA__security__INSTALL_LOCK=true so the first boot
bypasses the /install web wizard since every required field is
already provided via GITEA__* env vars.

Migration for an existing broken install:
  make down-gitea
  sudo rm -rf infra/gitea/gitea/data infra/gitea/gitea/config
  make up-gitea
2026-06-09 00:54:48 +00:00
infra fix(gitea): use /data volume path for the non-rootless image 2026-06-09 00:54:48 +00:00
.gitignore fix(gitea): use /data volume path for the non-rootless image 2026-06-09 00:54:48 +00:00
Makefile feat: split into 3 docker-compose stacks (main / gitea / wedding_photo) 2026-06-08 23:34:14 +00:00
network.sh feat: split into 3 docker-compose stacks (main / gitea / wedding_photo) 2026-06-08 23:34:14 +00:00