From 60332ed111fd2a4ae853fd3589298feeb4c194b8 Mon Sep 17 00:00:00 2001 From: jaylinski Date: Thu, 16 Apr 2026 09:58:57 +0200 Subject: [PATCH] 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 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11720 Reviewed-by: Beowulf Reviewed-by: Michael Kriese Co-authored-by: jaylinski Co-committed-by: jaylinski --- docker/rootless/usr/local/bin/gitea | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/rootless/usr/local/bin/gitea b/docker/rootless/usr/local/bin/gitea index 9a9a569b12..d87ec84e86 100644 --- a/docker/rootless/usr/local/bin/gitea +++ b/docker/rootless/usr/local/bin/gitea @@ -9,7 +9,7 @@ # And place the original in /usr/lib/gitea with working files in /data/gitea GITEA="/app/gitea/gitea" WORK_DIR="/var/lib/gitea" -APP_INI="/etc/gitea/app.ini" +APP_INI="/var/lib/gitea/custom/conf/app.ini" APP_INI_SET="" for i in "$@"; do