Fix SSH ports
This commit is contained in:
parent
b7c40c87d4
commit
20f5869527
@ -110,6 +110,8 @@
|
|||||||
RUN_MODE: "prod"
|
RUN_MODE: "prod"
|
||||||
SECRET_KEY: "{{ secret_key}}"
|
SECRET_KEY: "{{ secret_key}}"
|
||||||
SSH_DOMAIN: "{{ ssh_domain }}"
|
SSH_DOMAIN: "{{ ssh_domain }}"
|
||||||
|
SSH_LISTEN_PORT: "{{ ssh_listen_port }}"
|
||||||
|
SSH_PORT: "{{ ssh_port }}"
|
||||||
STARTUP_TIMEOUT: "{{ startup_timeout }}"
|
STARTUP_TIMEOUT: "{{ startup_timeout }}"
|
||||||
USER_GID: "{{ git_user_guid }}"
|
USER_GID: "{{ git_user_guid }}"
|
||||||
USER_UID: "{{ git_user_uid }}"
|
USER_UID: "{{ git_user_uid }}"
|
||||||
|
@ -10,6 +10,8 @@ domain: "git.autonomic.zone"
|
|||||||
enable_openid_signin: "true"
|
enable_openid_signin: "true"
|
||||||
enable_openid_signup: "true"
|
enable_openid_signup: "true"
|
||||||
install_lock: "true"
|
install_lock: "true"
|
||||||
|
ssh_domain: "git.autonomic.zone"
|
||||||
|
ssh_listen_port: "%(SSH_PORT)s"
|
||||||
|
ssh_port: "222"
|
||||||
startup_timeout: "0"
|
startup_timeout: "0"
|
||||||
whitelist_uris: "https://git.autonomic.zone"
|
whitelist_uris: "https://git.autonomic.zone"
|
||||||
ssh_domain: "git.autonomic.zone"
|
|
||||||
|
@ -64,6 +64,8 @@ setup_app_ini() {
|
|||||||
crudini --set "$app_ini" server HTTP_ADDR ""
|
crudini --set "$app_ini" server HTTP_ADDR ""
|
||||||
crudini --set "$app_ini" server HTTP_PORT "3000"
|
crudini --set "$app_ini" server HTTP_PORT "3000"
|
||||||
crudini --set "$app_ini" server SSH_DOMAIN "${SSH_DOMAIN}"
|
crudini --set "$app_ini" server SSH_DOMAIN "${SSH_DOMAIN}"
|
||||||
|
crudini --set "$app_ini" server SSH_PORT "${SSH_PORT}"
|
||||||
|
crudini --set "$app_ini" server SSH_LISTEN_PORT "${SSH_LISTEN_PORT}"
|
||||||
|
|
||||||
crudini --set "$app_ini" service DISABLE_REGISTRATION "${DISABLE_REGISTRATION}"
|
crudini --set "$app_ini" service DISABLE_REGISTRATION "${DISABLE_REGISTRATION}"
|
||||||
crudini --set "$app_ini" service ALLOW_ONLY_EXTERNAL_REGISTRATION "${ALLOW_ONLY_EXTERNAL_REGISTRATION}"
|
crudini --set "$app_ini" service ALLOW_ONLY_EXTERNAL_REGISTRATION "${ALLOW_ONLY_EXTERNAL_REGISTRATION}"
|
||||||
|
Reference in New Issue
Block a user