update readme
This commit is contained in:
@@ -6,18 +6,18 @@ some kind of hosting setup
|
|||||||
|
|
||||||
1. 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
|
2. create a new admin user
|
||||||
- `sudo useradd -m -G wheel admin`
|
- `sudo useradd -m -G wheel admin`
|
||||||
- `sudo passwd admin`
|
- `sudo passwd admin`
|
||||||
- `sudo su - admin`
|
- `sudo su - admin`
|
||||||
3. use the system setup script, and log out
|
3. use the system setup script, and log out
|
||||||
- `sudo dnf install git -y`
|
- `sudo dnf install git -y`
|
||||||
- `git clone https://gitlab.com/futile/thingy`
|
- `git clone https://gitlab.com/futile/thingy`
|
||||||
- `./thingy/set-up-system.sh`
|
- `./thingy/set-up-system.sh`
|
||||||
- `exit`
|
- `exit`
|
||||||
4. log in again, populate the `.env` and start everything up
|
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 .....
|
5. continue with service-specific setups .....
|
||||||
|
|
||||||
## services
|
## services
|
||||||
@@ -46,20 +46,20 @@ specifics for everything
|
|||||||
|
|
||||||
**first setup**
|
**first setup**
|
||||||
1. 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`
|
||||||
2. storage
|
2. storage
|
||||||
- main data storage: `rocksdb`
|
- main data storage: `rocksdb`
|
||||||
- path: `/var/lib/stalwart/`
|
- path: `/var/lib/stalwart/`
|
||||||
3. account directory
|
3. account directory
|
||||||
- directory type: `use internal`
|
- directory type: `use internal`
|
||||||
4. logging
|
4. logging
|
||||||
- log destination: `console`
|
- log destination: `console`
|
||||||
5. automatic dns management
|
5. automatic dns management
|
||||||
- dns server type: `porkbun`
|
- dns server type: `porkbun`
|
||||||
- description: `porkbun`
|
- description: `porkbun`
|
||||||
|
|
||||||
**further setup**
|
**further setup**
|
||||||
- settings -> security -> allowed ips
|
- settings -> security -> allowed ips
|
||||||
|
|||||||
Reference in New Issue
Block a user