added mirror config section (#10)

Co-authored-by: muppeth <muppeth@disroot.org>
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Reviewed-on: Disroot-Ansible/gitea#10
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Reviewed-by: antilopa <antilopa@no-reply@disroot.org>
Co-authored-by: muppeth <muppeth@no-reply@disroot.org>
Co-committed-by: muppeth <muppeth@no-reply@disroot.org>
This commit is contained in:
muppeth 2022-02-25 09:24:29 +00:00
parent a9ac0bd13a
commit 6e592aba49
2 changed files with 8 additions and 0 deletions

View File

@ -71,6 +71,9 @@ gitea_service_config:
- 'DEFAULT_ENABLE_TIMETRACKING = true'
- 'NO_REPLY_ADDRESS = noreply@example.org'
gitea_mirror_config:
- 'ENABLED = true'
gitea_picture_config:
- 'DISABLE_GRAVATAR = true'
- 'ENABLE_FEDERATED_AVATAR = true'

View File

@ -47,6 +47,11 @@
{% endfor %}
[mirror]
{% for item in gitea_mirror_config %}
{{ item }}
{% endfor %}
[picture]
{% for item in gitea_picture_config %}
{{ item }}