chore(Dockerfile.rootless): update shadowed env variables (#11720)

This was missed in https://codeberg.org/forgejo/forgejo/pulls/11098.

See https://github.com/go-gitea/gitea/pull/17846 for why this was added in the first place.

Note that this is not backwards compatible. For users with a custom `app.ini`-config this won't work. But it also didn't work with the previous config. This change only aligns it with the default app.ini-path.

Co-authored-by: Jakob Linskeseder <jakob@linskeseder.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11720
Reviewed-by: Beowulf <beowulf@beocode.eu>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: jaylinski <jaylinski@noreply.codeberg.org>
Co-committed-by: jaylinski <jaylinski@noreply.codeberg.org>
This commit is contained in:
jaylinski 2026-04-16 09:58:57 +02:00 committed by Beowulf
parent eea5ac9639
commit 60332ed111

View file

@ -9,7 +9,7 @@
# And place the original in /usr/lib/gitea with working files in /data/gitea # And place the original in /usr/lib/gitea with working files in /data/gitea
GITEA="/app/gitea/gitea" GITEA="/app/gitea/gitea"
WORK_DIR="/var/lib/gitea" WORK_DIR="/var/lib/gitea"
APP_INI="/etc/gitea/app.ini" APP_INI="/var/lib/gitea/custom/conf/app.ini"
APP_INI_SET="" APP_INI_SET=""
for i in "$@"; do for i in "$@"; do