update readme
This commit is contained in:
@@ -4,23 +4,21 @@ some kind of hosting setup
|
|||||||
|
|
||||||
## setup
|
## setup
|
||||||
|
|
||||||
log into the vps, make sure it's fedora (or else 🔪)
|
1. log into the vps, make sure it's fedora (or else 🔪)
|
||||||
|
2. create a new admin user
|
||||||
```
|
- `sudo useradd -m -G wheel admin`
|
||||||
sudo dnf install git -y
|
- `sudo passwd admin`
|
||||||
git clone https://gitlab.com/futile/thingy
|
- `sudo su - admin`
|
||||||
./thingy/set-up-system.sh
|
3. use the system setup script, and log out
|
||||||
exit
|
- `sudo dnf install git -y`
|
||||||
```
|
- `git clone https://gitlab.com/futile/thingy`
|
||||||
|
- `./thingy/set-up-system.sh`
|
||||||
```
|
- `exit`
|
||||||
ssh <user>@<ip>
|
4. log in again, populate the `.env` and start everything up
|
||||||
cd thingy
|
- `cd thingy`
|
||||||
micro .env
|
- `micro .env`
|
||||||
docker compose up
|
- `docker compose up`
|
||||||
```
|
5. continue with service-specific setups .....
|
||||||
|
|
||||||
continue with service-specific setups .....
|
|
||||||
|
|
||||||
## services
|
## services
|
||||||
|
|
||||||
@@ -47,19 +45,19 @@ specifics for everything
|
|||||||
### stalwart
|
### stalwart
|
||||||
|
|
||||||
**first setup**
|
**first setup**
|
||||||
- server identity
|
1. server identity
|
||||||
- server hostname: `mail.yaoi.dog`
|
- server hostname: `mail.yaoi.dog`
|
||||||
- default email domain: `yaoi.dog`
|
- default email domain: `yaoi.dog`
|
||||||
- automatically obtain tls certificate: `true`
|
- automatically obtain tls certificate: `true`
|
||||||
- generate email signing keys: `true`
|
- generate email signing keys: `true`
|
||||||
- storage
|
2. storage
|
||||||
- main data storage: `rocksdb`
|
- main data storage: `rocksdb`
|
||||||
- path: `/var/lib/stalwart/`
|
- path: `/var/lib/stalwart/`
|
||||||
- account directory
|
3. account directory
|
||||||
- directory type: `use internal`
|
- directory type: `use internal`
|
||||||
- logging
|
4. logging
|
||||||
- log destination: `console`
|
- log destination: `console`
|
||||||
- automatic dns management
|
5. automatic dns management
|
||||||
- dns server type: `porkbun`
|
- dns server type: `porkbun`
|
||||||
- description: `porkbun`
|
- description: `porkbun`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user