this post was submitted on 24 Sep 2023
30 points (94.1% liked)

Selfhosted

39964 readers
376 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm running Docker on Ubuntu server; around 50 containers running, most admin via Portainer. Configuration files and small databases for container applications are stored on the local SSD, media and larger files are stored on a NAS.

NAS data and the container folders are backed up.

I have a second identical machine doing nothing. What would you recommend researching to add resilience to this setup? Top priority is quick and easy restoration should the SSD fail - everything else is relatively easy to replace.

I'll create an SSD RAID but I like the idea of a second host.

you are viewing a single comment's thread
view the rest of the comments
[–] adam@kbin.pieho.me 1 points 1 year ago

The issue with orchestration is that you still need a way to share those small databases and config files.

Docker has ok NFS support so you'd want to move the files to NAS shares and have them mount those. Without some way to centralise or spread the files out you won't be covering your SSD failure case. Once you've got that going docker swarm will probably cover your needs just fine.

You could go with K8S but based on you setup that's a bit overkill (unless you're doing it as a learning exercise, in which case go nuts).