set ssh listen port based on env

This commit is contained in:
marlon 2025-05-21 14:15:12 -04:00
parent bb7c789ac1
commit 177679f02c

View File

@ -678,7 +678,7 @@ gitlab_rails['omniauth_providers'] = [
# high_availability['mountpoint'] = ["/var/opt/gitlab/git-data", "/var/opt/gitlab/gitlab-rails/shared"] # high_availability['mountpoint'] = ["/var/opt/gitlab/git-data", "/var/opt/gitlab/gitlab-rails/shared"]
### GitLab Shell settings for GitLab ### GitLab Shell settings for GitLab
# gitlab_rails['gitlab_shell_ssh_port'] = 22 gitlab_rails['gitlab_shell_ssh_port'] = {{ env GITLAB_SSH_PORT }}
# gitlab_rails['gitlab_shell_git_timeout'] = 800 # gitlab_rails['gitlab_shell_git_timeout'] = 800
### Enable gitlab-sshd on a different port than OpenSSH ### Enable gitlab-sshd on a different port than OpenSSH