Docker compose supervisor for addon

Is there a way to run “supervisor” on a docker-compose. Im aware that there is a script that you can run docker “https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh” but how to do it on docker-compose only.
I dont undesrtand why you must install something in your system. This is not point of dockerization.

Docker-compose should only be the way in setting up containers/images. If you use docker-compose or docker has no effect on how it is running.

But I get what you mean. The point in containerization is not to have all software bundled in a container. All containers always depend on the system you are running them on (see different images for different architectures). So having OS specific drivers and software has nothing to do with containerization. It would be a nightmare to support all different kinds of OSs, architectures and so on.

But, you’re not the first one, thinking about that. There are a few scripts or compose files out there for Home Assistant. Take a look here


and here

Both try to get all software bundled, I wouldn’t do that. I would install all the requirements per documentation and afterwards “only” put the HA stuff into the docker-compose file. Shouldn’t be to hard to get something like that running. :slight_smile:

1 Like

Thanks Patrik for that links. If you have only Hassio on you’r system maybe it’s fine to install something but whole conteneryzation thing is that you should’t instal anything. Im still of this opinnion that it should be a docker images only for that without instaling by default.

Hi, found this in my research for HA Supervised on Balena.io installation process. Just curious, if anyone did this before? I am almost sure that it should be possible, but have found almost nothing… I am newbie, just trying to understand how to make hass and supervisor work with each other using docker-compose. I will appreciate if you point me to the right direction. Thank you.