diff --git a/apps/git/gitea.md b/apps/git/gitea.md index 617fafe..4fbe439 100644 --- a/apps/git/gitea.md +++ b/apps/git/gitea.md @@ -40,10 +40,9 @@ services: - GITEA__database__PASSWD=gitea - GITEA__mailer__ENABLED=true - GITEA__mailer__FROM=git@domain.com - - GITEA__mailer__MAILER_TYPE=smtp - - GITEA__mailer__HOST=smtp.fastmail.com - - GITEA__mailer__IS_TLS_ENABLED=true - - GITEA__mailer__USER=tom@domain.com + - GITEA__mailer__MAILER_PROTOCOL=smtps + - GITEA__mailer__SMTP_ADDR=smtp.mail.com + - GITEA__mailer__USER=username@domain.com - GITEA__mailer__PASSWD=abcdefg_1234567890 volumes: - /etc/timezone:/etc/timezone:ro @@ -54,4 +53,7 @@ services: - "4022:22" ``` -**Note:** Remember to put the correct URL in the first setup screen (including `http(s)`). + +## Tips & Tricks +1. Remember to put the correct URL in the first setup screen (including `http(s)`). +2. While migrating to a newer version, which requires some env vars renaming (e.g. `mailer_HOST` to `mailer_SMTP_ADDR`), it may be required to remove the old vars from the app's ini file (`gitea/gitea/conf/app.ini`), as the env vars from the docker-compose seem to be copied to the ini file, but not synced (vars added to the docker-compose are added to the ini, but vars removed from docker-compose are not removed from the ini).