feat: Add forgejo_service variable

To configure e-mail notifications for example.

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2025-08-26 10:13:51 +02:00
parent 752837898c
commit a6f8f9da9e
Signed by: jriou
GPG key ID: 9A099EDA51316854
2 changed files with 8 additions and 0 deletions

View file

@ -13,6 +13,9 @@ forgejo_db_database: forgejo
# from: email@test.eu
# https://forgejo.org/docs/latest/admin/setup/email/
forgejo_mailer: {}
# forgejo_service:
# enable_notify_mail: "true"
forgejo_service: {}
forgejo_manage_iptables: false
forgejo_allowed_sources: []
forgejo_runners_version: 9.1.1

View file

@ -12,3 +12,8 @@ FORGEJO__database__PASSWD="{{ forgejo_db_password }}"
FORGEJO__mailer__{{ k | upper }}="{{ v }}"
{% endfor %}
{% endif %}
{% if forgejo_service %}
{% for k, v in forgejo_service.items() %}
FORGEJO__service__{{ k | upper }}="{{ v }}"
{% endfor %}
{% endif %}