this post was submitted on 25 Feb 2024
31 points (100.0% liked)
Free and Open Source Software
18346 readers
30 users here now
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
One thing that goes a long way toward making self-hosting easy is to minimise dependencies.
In order of preference (best to worst):
Mind the version numbers, too; try not to depend on library features that aren't widely packaged/deployed yet.
Bonus points for supporting multiple OS, like the various BSD flavours.
Being conservative with dependencies makes it more likely that someone will be willing to install, package, or administer your software. It also helps limit the attack surface, potentially avoiding exploits in the future.
Great point, I always consider dependencies from a security perspective, but for management/setup sometimes I am like "the devops are going to figure it out"...
To clarify, would an example be supporting sqlite, so people won't have to deploy postgres unless they need to?
My plan is to offer a docker-compose configuration people can tinker with. I had the mindset that whatever happens in the container stays in the container, but your comment made me realize I should be mindful of other installation methods. Thanks ๐