mirror of
https://gitlab.com/futile/thingy.git
synced 2026-07-21 08:10:07 +00:00
Compare commits
3
Commits
2231626fb6
...
abc2dabd34
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
abc2dabd34 | ||
|
|
f929547a91 | ||
|
|
ae3f68b96a |
@@ -30,9 +30,11 @@ specifics for everything
|
||||
- **caddy** – http server & reverse proxy
|
||||
- **stalwart** – mailserver
|
||||
- **bulwark** – webmail
|
||||
- **gitea** – git server
|
||||
- via caddy
|
||||
- `mail.yaoi.dog` – mail (server & admin dash)
|
||||
- `post.yaoi.dog` – mail (webmail)
|
||||
- `git.yaoi.dog` – git
|
||||
|
||||
**dns setup**
|
||||
|
||||
@@ -50,7 +52,7 @@ todo
|
||||
|
||||
### stalwart
|
||||
|
||||
**first setup**
|
||||
**initial setup**
|
||||
|
||||
1. server identity
|
||||
- server hostname: `mail.yaoi.dog`
|
||||
@@ -99,7 +101,32 @@ todo
|
||||
|
||||
### gitea
|
||||
|
||||
todo
|
||||
**initial setup**
|
||||
|
||||
- database settings
|
||||
- database type: `sqlite3`
|
||||
- path: `/data/gitea/gitea.db`
|
||||
- general settings
|
||||
- site title: `We cock. Dick. BALLING.`
|
||||
- server domain: `git.yaoi.dog`
|
||||
- ssh server port: `22`
|
||||
- gitea base url: `https://git.yaoi.dog/`
|
||||
- enable update checker: `true`
|
||||
- email settings
|
||||
- smtp host: `mail.yaoi.dog`
|
||||
- smtp port: `465`
|
||||
- send email as: `"Gitea" <system@yaoi.dog>`
|
||||
- smtp username: `system@yaoi.dog`
|
||||
- smtp password: `<password>`
|
||||
- enable email notifications: `true`
|
||||
- server and third-party service settings
|
||||
- enable openid sign-in: `false`
|
||||
- disable self-registration: `false`
|
||||
- allow registration only through external services: `true`
|
||||
- enable openid self-registration: `true`
|
||||
- hidden email domain: `git.yaoi.dog`
|
||||
- password hash algorithm: `argon2`
|
||||
|
||||
|
||||
## backups
|
||||
|
||||
@@ -114,7 +141,7 @@ always remember to `docker compose stop` before doing any of this!
|
||||
- to back up automatically, run `sudo EDITOR=micro crontab -e` and add the following:
|
||||
```
|
||||
TZ=UTC
|
||||
0 * * * * /home/admin/thingy/scripts/volume-backup.sh
|
||||
0 6 * * * /home/admin/thingy/scripts/volume-backup.sh
|
||||
```
|
||||
|
||||
**restoring**
|
||||
|
||||
Reference in New Issue
Block a user