Stop tracking app.ini to prevent runtime secrets from blocking git pull
Deploy with Docker Compose / deploy (push) Failing after 1s

Gitea populates secret fields (LFS_JWT_SECRET, SECRET_KEY, etc.) at
startup, causing app.ini to always show as modified. Since secrets are
already passed via environment variables, the tracked file is replaced
with an ignored app.ini and a tracked app.ini.template for reference.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
2026-03-16 15:35:43 +00:00
co-authored by Claude Opus 4.6
parent 0360b1f7f1
commit b4ddb4d402
2 changed files with 1 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@ certbot/www
backend/token/ backend/token/
.env .env
gitea/config/app.ini
gitea/data/* gitea/data/*
gitea-runner/data/* gitea-runner/data/*