Skip to content

Commit 73b6801

Browse files
zeripathviceicetechknowlogick
authored
In docker rootless use $GITEA_APP_INI if provided (#18524) (#18535)
Currently when calling `gitea` from any shell in rootless docker image it won't respect my `$GITEA_APP_INI`. Which this change it will use that value when defined instead of the default value. - https://discourse.gitea.io/t/gitea-1-16-0-unable-to-find-configuration-file/4543 - https://gitea.com/gitea/helm-chart/issues/287 Co-authored-by: Michael Kriese <[email protected]> Co-authored-by: techknowlogick <[email protected]>
1 parent e4919e4 commit 73b6801

File tree

1 file changed

+1
-1
lines changed
  • docker/rootless/usr/local/bin

1 file changed

+1
-1
lines changed

docker/rootless/usr/local/bin/gitea

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ for i in "$@"; do
3232
done
3333

3434
if [ -z "$APP_INI_SET" ]; then
35-
CONF_ARG="-c \"$APP_INI\""
35+
CONF_ARG="-c \"${GITEA_APP_INI:-$APP_INI}\""
3636
fi
3737

3838

0 commit comments

Comments
 (0)