Docker + HA + Addons - HASSIO Supervisor

Awesome work.
I recently started my setup and I am sticking with pure docker and was kind of lost for some until whole understanding of HA and hass.io
I will be setting up by docker without supervise.

1 Like

@juan11perez I tried to open your docker-compose file from the hastebin.com link but it only shows an empty file. Is this file expired or deleted? Tried differerent browsers and no-content-blockers but it’s always empty. Would be great if you could share it again :slight_smile:

Rene, i posted a link to a dropbox file at the end of my original post . I’ve added a number of dockers I use.

1 Like

Hi Unfortunately I get the same as ReneM and the file is empty for me as well.

Ignore me :slight_smile: I have just found the drop box line. Thanks

1 Like

I wanted to go HASS + HA via Docker-Compose, here is what I used:

WD=/opt/hassio
mkdir -p $WD/{setup}
cd $WD/setup
cat << 'EOF' >docker-compose.yaml
version: '3.7'
services:
  hassio_supervisor:
    container_name: hassio_supervisor
    image: "homeassistant/amd64-hassio-supervisor"
    privileged: true

    volumes:
      - type: bind
        source: ${SUPERVISOR_SHARE}
        target: /data
      - type: bind
        source: /etc/machine-id
        target: /etc/machine-id
      - type: bind
        source: /etc/localtime
        target: /etc/localtime
      - type: bind
        source: /run/docker.sock
        target: /run/docker.sock
      - type: bind
        source: /run/dbus
        target: /run/dbus
      - type: bind
        source: /dev/bus/usb
        target: /dev/bus/usb

    security_opt:
      - seccomp:unconfined
      - apparmor:hassio-supervisor

    environment:
      - SUPERVISOR_SHARE=/opt/hassio
      - SUPERVISOR_NAME=hassio_supervisor
      - HOMEASSISTANT_REPOSITORY=homeassistant/qemux86-homeassistant
      - DBUS_SYSTEM_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket
EOF
chmod +x docker-compose.yaml

More rambles here https://www.freesoftwareservers.com/display/FREES/Home-Assistant+-+Supervised+-+HASSIO+-+Docker-Compose

2 Likes