Commit Graph
4 Commits
Author SHA1 Message Date
autonomic-bot 1a098452f4 fix(config): make app.ini writable so Gitea can persist secrets on (re)deploy
Gitea 1.24+ (re)generates and SAVES the [oauth2] JWT secret to /etc/gitea/app.ini at
LoadCommonSettings. With app.ini mounted directly as a read-only swarm config this fails fatally
(open /etc/gitea/app.ini: read-only file system) on a warm reattach/redeploy, crash-looping the
container before any DB migration. Mount the rendered config at /etc/gitea/app.ini.init (read-only)
and seed it once into the writable config volume via docker-setup.sh, so Gitea owns a writable
/etc/gitea/app.ini. Bumps DOCKER_SETUP_SH_VERSION so the new entrypoint actually deploys.
2026-06-18 01:52:58 +00:00
decentral1se 036f070dc4 Don't run installs here
See https://github.com/go-gitea/gitea/issues/15661.
2021-04-29 16:12:14 +02:00
decentral1se c4154c8673 Install curl into the image as well 2021-04-29 16:05:21 +02:00
decentral1se 0f43efe952 Hack the setup script and drop paths config 2021-04-29 15:29:05 +02:00