I’m looking to migrated from my Rpi3 Hassio install to a Ubuntu/Docker Hassio install on my existing Plex box. I successfully ran the hassio-installer script and have the hassio-supervisor, home-assistant, and hassio-dns containers running.
I’m not clear how I can integrate the hassio docker ecosystem into my existing docker-compose file. I also need to add my zwave usb stick (aeotec) to my hassio docker image and repoint my docker hassio to my existing /config folder (located in /home/mastakebob/hassioConfig).
Adding the zwave stick and re-pointing to my config directory should be pretty straight forward once I get my docker-compose figured out, but I’m not able to find any info on how to integrate the hassio-installer setup into my docker-compose file.
Awesome, that makes things easy. Got my system migrated over, excited to retire the Rpi (required a restart every few weeks and had slow restarts).
How do I ‘edit the services’ to point to the preferred config location? Does that require re-executing the hassio-installer script and resetting up my install? Or can I redirect the location via editing some config files?
I’d like to have all my docker config folders in the same location rather than having hassio in /usr/share/hassio/homeassistant…
Yea, I’d prefer to have it all in docker-compose for future maintainability (I know I’m going to forget all of this in 6 months and then have to do major reconstruction and forget that hassio is controlled differently than the rest of docker). But I got it up and running, so I’ll be happy w/ it for now…
I actually did that as a test a while back to see if I could change the config location.
It worked for the general install & config stuff but when I tried to install add-ons I kept getting errors (I don’t remember the details). I’m not sure if was related to the change in config location generally or because the supervisor expected different user permissions at the different config locations or what it was. Since it was just a test of concept I didn’t spend much time on it & then uninstalled it.
I’ll tell you what tho. That supervisor service is pretty “sticky”. Every time I removed the hassio container the supervisor re-added it immediately. If I tried to remove the supervisor container the supervisor service would re-install it as well. To disable the supervisor I had to disable the supervisor service that gets started when you run the install script.
let us know how you do at re-locating the config directory. If you’re successful I may try again at some point. Or maybe I won’t and just leave a running system lie.
Hmmm, that doesn’t bode well. I think I’ll follow your path and let a working system lie.
I’m putting a symlink in my normal container’s config folder location pointing to the /usr/share/hassio location, so hopefully that’ll be enough to jog my memory of this whenever something breaks and I have to mess around in the file system.