summaryrefslogtreecommitdiffstats
path: root/docker/root/etc/s6
diff options
context:
space:
mode:
authorleigh capili <stealthybox@users.noreply.github.com>2019-08-23 17:44:24 -0600
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-08-24 01:44:24 +0200
commit70d2244e49e60e11877f850803d33ef1e3900fa6 (patch)
tree5c1c8a788396bc75511d377a84b827df65c67950 /docker/root/etc/s6
parent7c8166d331e3302ae14c003ce0c86773792cccc6 (diff)
downloadgitea-70d2244e49e60e11877f850803d33ef1e3900fa6.tar.gz
gitea-70d2244e49e60e11877f850803d33ef1e3900fa6.zip
Support SSH_LISTEN_PORT env var in docker app.ini template (#7829)
Signed-off-by: leigh capili <leigh@null.net>
Diffstat (limited to 'docker/root/etc/s6')
-rwxr-xr-xdocker/root/etc/s6/gitea/setup1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/root/etc/s6/gitea/setup b/docker/root/etc/s6/gitea/setup
index c4fbf5d65e..f87ce9115e 100755
--- a/docker/root/etc/s6/gitea/setup
+++ b/docker/root/etc/s6/gitea/setup
@@ -31,6 +31,7 @@ if [ ! -f ${GITEA_CUSTOM}/conf/app.ini ]; then
ROOT_URL=${ROOT_URL:-""} \
DISABLE_SSH=${DISABLE_SSH:-"false"} \
SSH_PORT=${SSH_PORT:-"22"} \
+ SSH_LISTEN_PORT=${SSH_LISTEN_PORT:-"${SSH_PORT}"} \
LFS_START_SERVER=${LFS_START_SERVER:-"false"} \
DB_TYPE=${DB_TYPE:-"sqlite3"} \
DB_HOST=${DB_HOST:-"localhost:3306"} \