update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# thingy!
|
||||
# atom.town!
|
||||
|
||||
some kind of hosting setup
|
||||
|
||||
@@ -11,11 +11,11 @@ some kind of hosting setup
|
||||
- `sudo su - admin`
|
||||
3. use the system setup script, and log out
|
||||
- `sudo dnf install git -y`
|
||||
- `git clone https://gitlab.com/futile/thingy`
|
||||
- `./thingy/scripts/system-setup.sh`
|
||||
- `git clone https://gitlab.com/futile/atom.town`
|
||||
- `./atom.town/scripts/system-setup.sh`
|
||||
- `exit`
|
||||
4. log in again, populate the `.env` and start everything up
|
||||
- `cd thingy`
|
||||
- `cd atom.town`
|
||||
- `micro .env`
|
||||
- `docker compose up`
|
||||
5. continue with service-specific setups .....
|
||||
@@ -32,17 +32,17 @@ specifics for everything
|
||||
- **bulwark** – webmail
|
||||
- **gitea** – git server
|
||||
- via caddy
|
||||
- `mail.yaoi.dog` – mail (server & admin dash)
|
||||
- `post.yaoi.dog` – mail (webmail)
|
||||
- `git.yaoi.dog` – git
|
||||
- `post.atom.town` – mailserver, mail admin, and oidc
|
||||
- `mail.atom.town` – webmail
|
||||
- `git.atom.town` – git
|
||||
|
||||
**dns setup**
|
||||
|
||||
| type | host | value | notes |
|
||||
|-------|-----------|---------------------------- |----------------------------|
|
||||
| `A` | `@` | `<ip>` | apex domain |
|
||||
| `A` | `mail` | `<ip>` | mailserver |
|
||||
| `A` | `post` | `<ip>` | webmail |
|
||||
| `A` | `post` | `<ip>` | mailserver |
|
||||
| `A` | `mail` | `<ip>` | webmail |
|
||||
| `A` | `git` | `<ip>` | gitea |
|
||||
| `CAA` | `@` | `0 issue "letsencrypt.org"` | allow caddy to issue certs |
|
||||
|
||||
@@ -57,8 +57,8 @@ specifics for everything
|
||||
<summary>initial setup</summary>
|
||||
|
||||
1. server identity
|
||||
- server hostname: `mail.yaoi.dog`
|
||||
- default email domain: `yaoi.dog`
|
||||
- server hostname: `mail.atom.town`
|
||||
- default email domain: `atom.town`
|
||||
- automatically obtain tls certificate: `true`
|
||||
- generate email signing keys: `true`
|
||||
2. storage
|
||||
@@ -119,15 +119,15 @@ specifics for everything
|
||||
- path: `/data/gitea/gitea.db`
|
||||
- general settings
|
||||
- site title: `We cock. Dick. BALLING.`
|
||||
- server domain: `git.yaoi.dog`
|
||||
- server domain: `git.atom.town`
|
||||
- ssh server port: `22`
|
||||
- gitea base url: `https://git.yaoi.dog/`
|
||||
- gitea base url: `https://git.atom.town/`
|
||||
- enable update checker: `true`
|
||||
- email settings
|
||||
- smtp host: `mail.yaoi.dog`
|
||||
- smtp host: `mail.atom.town`
|
||||
- smtp port: `465`
|
||||
- send email as: `"Gitea" <system@yaoi.dog>`
|
||||
- smtp username: `system@yaoi.dog`
|
||||
- send email as: `"Gitea" <system@atom.town>`
|
||||
- smtp username: `system@atom.town`
|
||||
- smtp password: `<password>`
|
||||
- enable email notifications: `true`
|
||||
- server and third-party service settings
|
||||
@@ -135,7 +135,7 @@ specifics for everything
|
||||
- disable self-registration: `false`
|
||||
- allow registration only through external services: `true`
|
||||
- enable openid self-registration: `true`
|
||||
- hidden email domain: `git.yaoi.dog`
|
||||
- hidden email domain: `git.atom.town`
|
||||
- password hash algorithm: `argon2`
|
||||
</details>
|
||||
|
||||
@@ -152,7 +152,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 6 * * * /home/admin/thingy/scripts/volume-backup.sh
|
||||
0 6 * * * /home/admin/atom.town/scripts/volume-backup.sh
|
||||
```
|
||||
|
||||
**restoring**
|
||||
|
||||
Reference in New Issue
Block a user