2026-07-18 01:28:48 +01:00
2026-07-17 03:42:59 +01:00
2026-07-17 23:31:56 +01:00
2026-07-18 01:12:39 +01:00
fix
2026-07-18 01:28:48 +01:00

thingy!

some kind of hosting setup

setup

  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 passwd admin
  • sudo su - admin
  1. use the system setup script, and log out
  • sudo dnf install git -y
  • git clone https://gitlab.com/futile/thingy
  • ./thingy/set-up-system.sh
  • exit
  1. log in again, populate the .env and start everything up
  • cd thingy
  • micro .env
  • docker compose up
  1. continue with service-specific setups .....

services

specifics for everything

currently serving

  • via docker
    • caddy http server & reverse proxy
    • stalwart mailserver
    • bulwark webmail
  • via caddy
    • mail.yaoi.dog mail (server & admin dash)
    • post.yaoi.dog mail (webmail)

dns setup

type host value notes
A @ <ip> apex domain
A m <ip> mailserver
A mail <ip> webmail
CAA @ 0 issue "letsencrypt.org" allow caddy to issue certs

stalwart

first setup

  1. server identity
  • server hostname: mail.yaoi.dog
  • default email domain: yaoi.dog
  • automatically obtain tls certificate: true
  • generate email signing keys: true
  1. storage
  • main data storage: rocksdb
  • path: /var/lib/stalwart/
  1. account directory
  • directory type: use internal
  1. logging
  • log destination: console
  1. automatic dns management
  • dns server type: porkbun
  • description: porkbun

further setup

  • settings -> security -> allowed ips
    • added 172.18.0.0/24; reason: internal
  • settings -> network -> http -> security
    • permissive cors policy: true [restart needed]

notes

  • in docker-compose.yml, a stalwart-logs volume is currently defined but not being used, due to the fact that stalwart does not seem to create anything within it. i need to figure out why. for now, stalwart logs to console.

useful links

bulwark

useful links

S
Description
No description provided
Readme
69 KiB
Languages
Shell 100%