fix gitea mail (#681)

Reviewed-on: #681
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2024-01-28 16:09:58 +01:00 committed by mg
parent b93c42f201
commit 7dd225b473

View file

@ -18,6 +18,11 @@ pvresize_to_max: true
### mgrote_restic ### mgrote_restic
restic_folders_to_backup: "/ /var/lib/gitea" # --one-file-system ist gesetzt, also werden weitere Dateisysteme nicht eingeschlossen, es sei denn sie werden hier explizit angegeben; https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files restic_folders_to_backup: "/ /var/lib/gitea" # --one-file-system ist gesetzt, also werden weitere Dateisysteme nicht eingeschlossen, es sei denn sie werden hier explizit angegeben; https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files
### mgrote_apt_manage_packages
apt_packages_extra:
- fail2ban
### oefenweb.ufw ### oefenweb.ufw
ufw_rules: ufw_rules:
- rule: allow - rule: allow
@ -38,7 +43,8 @@ ufw_rules:
### l3d.gitea ### l3d.gitea
# config liegt in /etc/gitea/gitea.ini # config liegt in /etc/gitea/gitea.ini
gitea_version: "1.21.0" gitea_version: "1.21.4"
gitea_fork: "gitea"
gitea_app_name: "Gitea" gitea_app_name: "Gitea"
gitea_user: "gitea" gitea_user: "gitea"
gitea_home: "/var/lib/gitea" gitea_home: "/var/lib/gitea"
@ -55,17 +61,16 @@ gitea_disable_gravatar: true
gitea_enable_captcha: true gitea_enable_captcha: true
gitea_only_allow_external_registration: false gitea_only_allow_external_registration: false
gitea_enable_notify_mail: true gitea_enable_notify_mail: true
gitea_autowatch_on_change: true
gitea_force_private: false gitea_force_private: false
gitea_oauth2_enabled: true gitea_oauth2_enabled: true
gitea_repo_indexer_enabled: true gitea_repo_indexer_enabled: true
gitea_mailer_enabled: true gitea_mailer_enabled: true
gitea_mailer_skip_verify: false gitea_mailer_protocol: smtp
gitea_mailer_tls_enabled: false gitea_mailer_smtp_addr: docker10.mgrote.net
gitea_mailer_host: docker10.mgrote.net:1025 gitea_mailer_smtp_port: 1025
gitea_mailer_from: gitea@mgrote.net gitea_mailer_from: "gitea@mgrote.net"
gitea_mailer_user: "gitea@mgrote.net"
gitea_mailer_type: smtp
gitea_default_branch: 'master' gitea_default_branch: 'master'
@ -98,3 +103,7 @@ gitea_extra_config: |
gitea_backup_on_upgrade: false gitea_backup_on_upgrade: false
gitea_backup_location: "{{ gitea_home }}/backups/" gitea_backup_location: "{{ gitea_home }}/backups/"
submodules_versioncheck: true
gitea_log_systemd: true
gitea_log_level: "Info"