2026-07-17 20:57:00 +01:00
2026-07-17 03:42:59 +01:00
2026-07-17 20:47:37 +01:00
2026-07-17 20:57:00 +01:00

thingy!

some kind of hosting setup

setup

  1. log into vps (make sure it's fedora)
  2. we need git sudo dnf install git -y
  3. clone this git clone https://gitlab.com/futile/thingy
  4. cd in cd thingy
  5. run the system setup script ./set-up-system.sh
  6. log out and back in exit, ssh whatever@whatever...
  7. cd again cd thingy
  8. populate a .env micro .env
  9. finally, start everything docker compose up
  10. continue with service-specific setups .....

services

specifics for everything

currently serving

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

stalwart

first setup

  • server identity
    • server hostname: m.yaoi.dog
    • default email domain: yaoi.dog
    • automatically obtain tls certificate: true
    • generate email signing keys: true
  • storage
    • main data storage: rocksdb
    • path: /var/lib/stalwart/
  • account directory
    • directory type: use internal
  • logging
    • log destination: console
  • 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

caddy

notes

  • caddy will not be able to issue certificates if stalwart creates the CAA record, you should create one yourself like so: CAA @ 0 issue "letsencrypt.org"
S
Description
No description provided
Readme
69 KiB
Languages
Shell 100%