feat: Add mailer configuration
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
5f90be4299
commit
752837898c
2 changed files with 10 additions and 0 deletions
|
@ -8,6 +8,11 @@ forgejo_ssh_port: 222
|
|||
forgejo_db_username: forgejo
|
||||
forgejo_db_password: CHANGEME
|
||||
forgejo_db_database: forgejo
|
||||
# forgejo_mailer:
|
||||
# enabled: "true"
|
||||
# from: email@test.eu
|
||||
# https://forgejo.org/docs/latest/admin/setup/email/
|
||||
forgejo_mailer: {}
|
||||
forgejo_manage_iptables: false
|
||||
forgejo_allowed_sources: []
|
||||
forgejo_runners_version: 9.1.1
|
||||
|
|
|
@ -7,3 +7,8 @@ FORGEJO__database__HOST=db:5432
|
|||
FORGEJO__database__NAME="{{ forgejo_db_database }}"
|
||||
FORGEJO__database__USER="{{ forgejo_db_username }}"
|
||||
FORGEJO__database__PASSWD="{{ forgejo_db_password }}"
|
||||
{% if forgejo_mailer %}
|
||||
{% for k, v in forgejo_mailer.items() %}
|
||||
FORGEJO__mailer__{{ k | upper }}="{{ v }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue