Compare commits

..

No commits in common. "a6b8e6ffcdfcec2d758e7310cedcd01693d8e6c0" and "409f50a5efd2cc2fa3d17ea6fa01ba6a66c38323" have entirely different histories.

2 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,5 @@
---
forgejo_version: 8
forgejo_version: 7
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_protocol: smtps # can be one of starttls | smtps
# forgejo_smtp_force_tls: false # forces tls if it is on a non-traditional tls port. Overwrites starttls so should generally be off
forgejo_use_lfs: false
forgejo_lfs_max_filesize: 0

View file

@ -36,9 +36,7 @@ services:
- FORGEJO__mailer__TYPE=smtp
- FORGEJO__mailer__SMTP_ADDR={{ forgejo_smtp_addr }}
- FORGEJO__mailer__SMTP_PORT={{ forgejo_smtp_port }}
{% if forgejo_smtp_protocol is not undefined and not none %}
- FORGEJO__mailer__PROTOCOL={{ forgejo_smtp_protocol }}
{% endif %}
- FORGEJO__mailer__IS_TLS_ENABLED={{ (forgejo_smtp_force_tls is not undefined and not None) | ternary(forgejo_smtp_force_tls,'false') }}
- FORGEJO__mailer__USER={{ forgejo_smtp_username }}
- FORGEJO__mailer__PASSWD={{ forgejo_smtp_password }}
{% endif %}