home · topics · posts · publications · about · now · links

Home cloud "writeup"

Due to a completely hilarious harsh unplug of my RPi, I've recently lost all of my shaarli/bookstack data, along with the docker-compose.yml declaring my configuration. What a nice occasion to redo all the work while documenting and ensure that some backup utility prevents me from losing it all over again.

Hardware setup

My home setup is comprised of:

I'd like to add someday a RPi-sized card that has another storage option than sdcards, due to reliability issues that I had. I'm looking over some hardkernel products (like the XU4, N2, C2, H2...), as well as the AtomicPi. The ARM architecture adds complexity regarding Docker images availability, so that's why I'm looking over some intel boards.

Software setup

After trying YunoHost and having problems when installing numerous services, I gave up and planned to use Docker for everything. I was using balenaOS before the great crash and the lack of support concerning docker-compose always irritated me as I needed another linux machine to launch/edit my stack. Right now I'm using a vanilla Raspbian like everyone else, but Docker specific distributions are still an interesting option to consider someday. I'd like to try out CoreOS, for example.

My Raspbian has docker + docker-compose installed, along with git for syncing my files.

I use Traefik as a reverse proxy, routing queries to two main services/apps:

What's left to do

While I'm quite happy to have some way of recovering my setup now, I have some more work to do.

[twitter] [github] [gitlab] tibl