Configure external only properly
This commit is contained in:
parent
f34668e618
commit
867ba38023
@ -95,6 +95,7 @@
|
||||
DB_TYPE: "mysql"
|
||||
DB_USER: "mariadb" # https://github.com/dokku/dokku-mariadb/issues/89
|
||||
DESCRIPTION: "{{ description }}"
|
||||
DISABLE_REGISTRATION: "{{ disable_registration }}"
|
||||
DOKKU_LETSENCRYPT_EMAIL: "{{ autonomic_admin_mail }}"
|
||||
DOMAIN: "{{ domain }}"
|
||||
ENABLE_OPENID_SIGNIN: "{{ enable_openid_signin }}"
|
||||
|
@ -5,6 +5,7 @@ autonomic_admin_mail: "helo@autonomic.zone"
|
||||
autonomic_admin_user: "autonomic"
|
||||
autonomic_app_name: "Gitea: Git with solidaritea"
|
||||
description: "Git hosting for conrads"
|
||||
disable_registration: "true"
|
||||
domain: "git.autonomic.zone"
|
||||
enable_openid_signin: "true"
|
||||
enable_openid_signup: "true"
|
||||
|
@ -65,6 +65,7 @@ setup_app_ini() {
|
||||
crudini --set "$app_ini" server HTTP_PORT "3000"
|
||||
|
||||
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" security INSTALL_LOCK "${INSTALL_LOCK}"
|
||||
crudini --set "$app_ini" security SECRET_KEY "${SECRET_KEY}"
|
||||
|
Reference in New Issue
Block a user