mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2026-05-12 18:16:36 +00:00
gitea updates
This commit is contained in:
@@ -40,10 +40,9 @@ services:
|
|||||||
- GITEA__database__PASSWD=gitea
|
- GITEA__database__PASSWD=gitea
|
||||||
- GITEA__mailer__ENABLED=true
|
- GITEA__mailer__ENABLED=true
|
||||||
- GITEA__mailer__FROM=git@domain.com
|
- GITEA__mailer__FROM=git@domain.com
|
||||||
- GITEA__mailer__MAILER_TYPE=smtp
|
- GITEA__mailer__MAILER_PROTOCOL=smtps
|
||||||
- GITEA__mailer__HOST=smtp.fastmail.com
|
- GITEA__mailer__SMTP_ADDR=smtp.mail.com
|
||||||
- GITEA__mailer__IS_TLS_ENABLED=true
|
- GITEA__mailer__USER=username@domain.com
|
||||||
- GITEA__mailer__USER=tom@domain.com
|
|
||||||
- GITEA__mailer__PASSWD=abcdefg_1234567890
|
- GITEA__mailer__PASSWD=abcdefg_1234567890
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@@ -54,4 +53,7 @@ services:
|
|||||||
- "4022:22"
|
- "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).
|
||||||
|
|||||||
Reference in New Issue
Block a user