home-server/gitea/README.md

26 lines
454 B
Markdown
Raw Normal View History

2020-12-14 19:53:09 +00:00
## Environment
Do not forget to set the host paths for `data` and `db` in `.env`
### Secret files content:
`db.env.secret` examlple:
```
MYSQL_ROOT_PASSWORD=changeme
MYSQL_PASSWORD=changeme
```
`gitea_conf.env.secret` example
```
DOMAIN=git.example.com
ROOT_URL=https://git.example.com
```
`reverse_proxy.env.secret` example
```
VIRTUAL_HOST=git.example.com
VIRTUAL_PORT=3000
LETSENCRYPT_HOST=git.example.com
LETSENCRYPT_EMAIL=gitea@example.com
```