I have had some experience with self-hosting before, but most of this was fairly temporary. My goal is to have two separate (but linked) personas online, one more professional, and one more small-web-like (hobbies and things).
They should each have a
- Website (Zola Blog)
- Matrix homeserver (I was thinking tuwunel)
- Fediverse instance (Probably GoToSocial)
- Lemmy instance
I currently use Docker Compose for container management, I was considering adding some sort of frontend too accessible over Tailscale so I can manage the containers.
After some light research, I’ve come to the conclusion that renting a VPS and using a WireGuard tunnel will be a good option for public internet traffic, but otherwise, I was wondering if anyone had opinions on this setup? If you could point me to some good resources for these things as well that would be awesome!
Additionally, if anyone knows anything about security, keeping the software up to date, backups, generally being a good server admin, some information or resources on that would be amazing too!
stratself@lemdro.id 10 hours ago
Hi, I’ve been running something similar with Tailscale. Instead of traefik, you can use any other TCP proxy like nginx or caddy-l4, or even use
tailscale serveon the edge VPS as well. Do note that all of your listed services except Zola will make outbound requests, so it could be better to also exit node through the VPS (like the article did), as to avoid exposing your residential IP.As for the linked personas, you may wanna use one domain instead of two. Matrix homeservers can be resource-heavy for example, so maybe consider
@persona1:example.comand@persona2:example.comon a single server instead of having two resource hubs that does essentially the same thing. The same applies to GotoSocial and Lemmy. By the way, I recommend Continuwuity for the Matrix server :)Static sites don’t actively take up resources, so they can be on separate domains. But again you may wanna save some money, so maybe consider using
persona1/persona2.example.comsubdomains, or even pubnix-styleexample.com/~persona(1|2)paths!As for the Docker management frontend, I have no idea which one’s the best right now 😅 but do make use of Tailscale SSH feature to troubleshoot other parts of your machines as well. And as for updates, I just subscribe to RSS feeds to keep the important software updated. Highly recommend you do that too to check out changelogs yourself.