diff --git a/docker-compose.yaml b/docker-compose.yaml index e69de29..b0cf2b8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -0,0 +1,20 @@ +version: '3' + +services: + portainer: + container_name: portainer + stdin_open: true + tty: true + image: portainer/portainer + restart: always + ports: + - "9000:9000/tcp" + homeassistant: + container_name: homeassistant + image: "ghcr.io/home-assistant/home-assistant:stable" + volumes: + - ./hassio:/config + - /etc/localtime:/etc/localtime:ro + restart: unless-stopped + privileged: true + network_mode: host diff --git a/hassio/configuration.yaml b/hassio/configuration.yaml index e69de29..2bee737 100644 --- a/hassio/configuration.yaml +++ b/hassio/configuration.yaml @@ -0,0 +1,2 @@ +homeassistant: + packages: !include_dir_named packages