Configure external only properly

This commit is contained in:
Luke Murphy 2020-03-23 15:01:06 +01:00
parent f34668e618
commit 867ba38023
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 3 additions and 0 deletions

View File

@ -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 }}"

View File

@ -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"

View File

@ -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}"