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:
parent
752837898c
commit
a6f8f9da9e
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue