From f4b7aa6e4d5b8f0770536b503259cc1d5d645229 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 3 Feb 2024 14:02:13 -0500 Subject: [PATCH] Update dockge-install.sh tweak `homeassistant/compose.yaml` --- install/dockge-install.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/install/dockge-install.sh b/install/dockge-install.sh index d6985afd..f15949a4 100644 --- a/install/dockge-install.sh +++ b/install/dockge-install.sh @@ -62,19 +62,18 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Adding Home Assistant compose.yaml" mkdir -p /opt/stacks/homeassistant cat </opt/stacks/homeassistant/compose.yaml -version: "3.3" +version: "3" services: - home-assistant: + homeassistant: container_name: homeassistant - privileged: true - restart: unless-stopped - volumes: - - /var/run/docker.sock:/var/run/docker.sock - - /dev:/dev - - /etc/localtime:/etc/localtime:ro - - ./config:/config - network_mode: host image: ghcr.io/home-assistant/home-assistant:stable + volumes: + - ./config:/config + - /etc/localtime:/etc/localtime:ro + - /run/dbus:/run/dbus:ro + restart: unless-stopped + privileged: true + network_mode: host EOF msg_ok "Added Home Assistant compose.yaml" fi