aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorMichael Kriese2022-02-01 21:18:57 +0100
committerGitHub2022-02-01 20:18:57 +0000
commitde05d71b40fe2adfdd2da9caba083707cbd06672 (patch)
treecf14f40775a7afcb023e1dd125adde61fac45ac5 /docker
parent24d39ee6b72fd121810977b7d9af7e8448442ff8 (diff)
In docker rootless use $GITEA_APP_INI if provided (#18524)
Diffstat (limited to 'docker')
-rw-r--r--docker/rootless/usr/local/bin/gitea2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/rootless/usr/local/bin/gitea b/docker/rootless/usr/local/bin/gitea
index 5fdadfb3f..1b33ca854 100644
--- a/docker/rootless/usr/local/bin/gitea
+++ b/docker/rootless/usr/local/bin/gitea
@@ -32,7 +32,7 @@ for i in "$@"; do
done
if [ -z "$APP_INI_SET" ]; then
- CONF_ARG="-c \"$APP_INI\""
+ CONF_ARG="-c \"${GITEA_APP_INI:-$APP_INI}\""
fi