Set SSH domain
This commit is contained in:
parent
d4b757162f
commit
5c9ea73187
@ -104,6 +104,7 @@
|
||||
JWT_SECRET: "{{ jwt_secret }}"
|
||||
RUN_MODE: "prod"
|
||||
SECRET_KEY: "{{ secret_key}}"
|
||||
SSH_DOMAIN: "{{ ssh_domain }}"
|
||||
STARTUP_TIMEOUT: "{{ startup_timeout }}"
|
||||
USER_GID: "{{ gitea_user_guid }}"
|
||||
USER_UID: "{{ gitea_user_uid }}"
|
||||
|
@ -12,3 +12,4 @@ enable_openid_signup: "true"
|
||||
install_lock: "true"
|
||||
startup_timeout: "0"
|
||||
whitelist_uris: "https://git.autonomic.zone"
|
||||
ssh_domain: "git.autonomic.zon"
|
||||
|
@ -63,6 +63,7 @@ setup_app_ini() {
|
||||
crudini --set "$app_ini" server ROOT_URL "https://%(DOMAIN)s/"
|
||||
crudini --set "$app_ini" server HTTP_ADDR ""
|
||||
crudini --set "$app_ini" server HTTP_PORT "3000"
|
||||
crudini --set "$app_ini" server SSH_DOMAIN "${SSH_DOMAIN}"
|
||||
|
||||
crudini --set "$app_ini" service DISABLE_REGISTRATION "${DISABLE_REGISTRATION}"
|
||||
crudini --set "$app_ini" service ALLOW_ONLY_EXTERNAL_REGISTRATION "${ALLOW_ONLY_EXTERNAL_REGISTRATION}"
|
||||
|
Reference in New Issue
Block a user