mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-10-15 14:12:54 -04:00
Audited the template against Gitea 28.0.0 (source plus the binary's own startup log) and fixed everything it flags. Existing configs are migrated on startup without touching user values. - rootfs/tmp/etc/gitea/app.ini: ALLOWED_HOST_LIST "*" -> private,loopback with explicit EGRESS_MODE=lax; [migration] -> [migrations] with ALLOWED_HOST_LIST; drop deprecated/dead keys and the non-existent [notify.email]; add WORK_PATH and LOCAL_ROOT_URL; DISABLE_REGISTRATION=true - rootfs/usr/local/etc/docker/init.d/08-gitea.sh: add __gitea_ini_get/__gitea_ini_unset and migrate existing configs (invalid "*" host list, [webhook] key moved to [security], [migrations] host list, EGRESS_MODE) - TODO.AI.md: record the audit, the verification, and the behaviour changes needing owner confirmation Claude-Session: https://claude.ai/code/session_01Kae22tmhzhmfHyqc34PZbx