Compare commits
2 commits
409f50a5ef
...
a6b8e6ffcd
| Author | SHA1 | Date | |
|---|---|---|---|
| a6b8e6ffcd | |||
| 46b6b9a8a4 |
2 changed files with 5 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
forgejo_version: 7
|
||||
forgejo_version: 8
|
||||
|
||||
forgejo_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ forgejo_app_admin_email: myadmin@mydomain.mytld
|
|||
# forgejo_smtp_port: 465
|
||||
# forgejo_smtp_username: my@username.com
|
||||
# forgejo_smtp_password: <password>
|
||||
# forgejo_smtp_force_tls: false # forces tls if it is on a non-traditional tls port. Overwrites starttls so should generally be off
|
||||
# forgejo_smtp_protocol: smtps # can be one of starttls | smtps
|
||||
|
||||
forgejo_use_lfs: false
|
||||
forgejo_lfs_max_filesize: 0
|
||||
|
|
|
|||
|
|
@ -36,7 +36,9 @@ services:
|
|||
- FORGEJO__mailer__TYPE=smtp
|
||||
- FORGEJO__mailer__SMTP_ADDR={{ forgejo_smtp_addr }}
|
||||
- FORGEJO__mailer__SMTP_PORT={{ forgejo_smtp_port }}
|
||||
- FORGEJO__mailer__IS_TLS_ENABLED={{ (forgejo_smtp_force_tls is not undefined and not None) | ternary(forgejo_smtp_force_tls,'false') }}
|
||||
{% if forgejo_smtp_protocol is not undefined and not none %}
|
||||
- FORGEJO__mailer__PROTOCOL={{ forgejo_smtp_protocol }}
|
||||
{% endif %}
|
||||
- FORGEJO__mailer__USER={{ forgejo_smtp_username }}
|
||||
- FORGEJO__mailer__PASSWD={{ forgejo_smtp_password }}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue