1.4 KiB
1.4 KiB
stalwart
initial setup
- server identity
- server hostname:
post.atom.town - default email domain:
atom.town - automatically obtain tls certificate:
true - generate email signing keys:
true
- server hostname:
- storage
- main data storage:
rocksdb - path:
/var/lib/stalwart/
- main data storage:
- account directory
- directory type:
use internal
- directory type:
- logging
- log destination:
console
- log destination:
- automatic dns management
- dns server type:
porkbun - description:
porkbun
- dns server type:
further setup
- settings -> security -> allowed ips
- added
172.18.0.0/16; reason:docker internal
- added
- settings -> network -> http -> security
- permissive cors policy:
true[restart needed]
- permissive cors policy:
- settings -> authentication -> oidc provider
- oauth settings
- key:
secret read from environment variable - variable name:
OIDC_KEY
- key:
- openid connect
- signature algorithm:
ECDSA using P-384 and SHA-384 - signature key:
secret read from environment variable - variable name:
OIDC_SIGNATURE_KEY
- signature algorithm:
- oauth settings
- 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
- client id:
- create oauth client
useful links