diff --git a/gitea/defaults.yaml b/gitea/defaults.yaml index 7588380..e33a46a 100644 --- a/gitea/defaults.yaml +++ b/gitea/defaults.yaml @@ -1,7 +1,5 @@ gitea: config: '/var/lib/gitea/custom/conf/app.ini' - service: - name: gitea version: "1.0.2" sha256: "02ed9a3bb7bcd1c8f3d8888e51a0887b3c0f44b2a80d50c99f9e407e457545ab" database: @@ -38,6 +36,7 @@ gitea: smtp_password: secretPassword1234 skip_verify: false service: + name: gitea app_name: Gitea - Git with a cup of tea register_email_confirm: true disable_registration: true @@ -58,6 +57,8 @@ gitea: security: install_lock: true remember_password_days: 30 + webhook: + allowed_host_list: loopback other: show_footer_branding: true show_footer_version: true diff --git a/gitea/files/app.ini.j2 b/gitea/files/app.ini.j2 index d340bfe..4893451 100644 --- a/gitea/files/app.ini.j2 +++ b/gitea/files/app.ini.j2 @@ -92,6 +92,9 @@ LOGIN_REMEMBER_DAYS = {{ gitea.security.remember_password_days }} COOKIE_USERNAME = giteauser COOKIE_REMEMBER_NAME = giteausersession +[webhook] +ALLOWED_HOST_LIST = {{ gitea.webhook.allowed_host_list }} + [other] SHOW_FOOTER_BRANDING = {{ gitea.other.show_footer_branding }} SHOW_FOOTER_VERSION = {{ gitea.other.show_footer_version }}