This commit is contained in:
2026-07-21 11:02:10 +01:00
parent 24987e25b4
commit ebe9063687
2 changed files with 22 additions and 3 deletions
+21 -2
View File
@@ -77,7 +77,7 @@ specifics for everything
<summary>further setup</summary>
- settings -> security -> allowed ips
- added `172.18.0.0/24`; reason: `internal`
- added `172.18.0.0/16`; reason: `docker internal`
- settings -> network -> http -> security
- permissive cors policy: `true` **[restart needed]**
- settings -> authentication -> oidc provider
@@ -88,6 +88,12 @@ specifics for everything
- signature algorithm: `ECDSA using P-384 and SHA-384`
- signature key: `secret read from environment variable`
- variable name: `OIDC_SIGNATURE_KEY`
- management -> directory -> oauth clients
- create oauth client
- client id: `gitea`
- description: `Gitea`
- client secret: `<generate_secret>`
- redirect uris: `https://git.atom.town/user/oauth2/Stalwart/callback`
</details>
<details>
@@ -124,7 +130,7 @@ specifics for everything
- gitea base url: `https://git.atom.town/`
- enable update checker: `true`
- email settings
- smtp host: `mail.atom.town`
- smtp host: `post.atom.town`
- smtp port: `465`
- send email as: `"Gitea" <system@atom.town>`
- smtp username: `system@atom.town`
@@ -139,6 +145,19 @@ specifics for everything
- password hash algorithm: `argon2`
</details>
<details>
<summary>further setup</summary>
- admin settings -> identity & access -> authentication sources
- add authentication source
- authentication type: `OAuth2`
- authentication name: `Stalwart`
- oauth2 provider: `OpenID Connect`
- client id (key): `gitea`
- client secret: `<secret_from_stalwart>`
- openid connect auto discovery url: `https://post.atom.town/.well-known/openid-configuration`
</details>
## backups
backups are done with [vykar](https://vykar.borgbase.com) to [borgbase](https://borgbase.com)