Welcome to today’s daily kōrero!
Anyone can make the thread, first in first served. If you are here on a day and there’s no daily thread, feel free to create it!
Anyway, it’s just a chance to talk about your day, what you have planned, what you have done, etc.
So, how’s it going?
I’ve gotten back into HA recently and I’m running it in a docker container. It confuses the hell out of me, like how do you access the files that are in the docker container? I can’t work out where they actually are on my system.
I think the main difference between docker and using home assistant OS is that some things, add ons in particular, aren’t available in docker unless you install them manually.
Yeah, I am not that experienced with Docker, so I may go with installing it via pip.
Docker is fantastic but there is definitely a learning curve. I use docker compose for everything, which makes it easier (especially blowing away and recreating a container).
Instead of trying to work out where stuff lives, I create bind mounts. Basically, map a directory on your system to a directory within the container. Most self-hosted services these days will provide docker-compose.yml example files with bind mounts specified, and docker now ships with compose baked in.
I create one directory to hold everything, then one directory to hold a service, then put the docker-compose.yml file in there. Then I can back up just that one directory and everything important is backed up (I do things differently for lemmy because I want live backups, but all my personal stuff is done like that).
Just curious, how do you do live backups for Lemmy?