diff options
author | leigh capili | 2019-08-23 17:44:24 -0600 |
---|---|---|
committer | Antoine GIRARD | 2019-08-24 01:44:24 +0200 |
commit | 70d2244e49e60e11877f850803d33ef1e3900fa6 (patch) | |
tree | 5c1c8a788396bc75511d377a84b827df65c67950 /docker | |
parent | 7c8166d331e3302ae14c003ce0c86773792cccc6 (diff) |
Support SSH_LISTEN_PORT env var in docker app.ini template (#7829)
Signed-off-by: leigh capili <leigh@null.net>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/root/etc/s6/gitea/setup | 1 | ||||
-rw-r--r-- | docker/root/etc/templates/app.ini | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docker/root/etc/s6/gitea/setup b/docker/root/etc/s6/gitea/setup index c4fbf5d65..f87ce9115 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"} \ diff --git a/docker/root/etc/templates/app.ini b/docker/root/etc/templates/app.ini index 212cd854d..e05c24a09 100644 --- a/docker/root/etc/templates/app.ini +++ b/docker/root/etc/templates/app.ini @@ -17,6 +17,7 @@ HTTP_PORT = $HTTP_PORT ROOT_URL = $ROOT_URL DISABLE_SSH = $DISABLE_SSH SSH_PORT = $SSH_PORT +SSH_LISTEN_PORT = $SSH_LISTEN_PORT LFS_START_SERVER = $LFS_START_SERVER LFS_CONTENT_PATH = /data/git/lfs |