Update dockge-install.sh

tweak `homeassistant/compose.yaml`
pull/2425/head
tteckster 10 months ago committed by GitHub
parent 5ed56e64d7
commit f4b7aa6e4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -62,19 +62,18 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Adding Home Assistant compose.yaml"
mkdir -p /opt/stacks/homeassistant
cat <<EOF >/opt/stacks/homeassistant/compose.yaml
version: "3.3"
version: "3"
services:
home-assistant:
homeassistant:
container_name: homeassistant
privileged: true
restart: unless-stopped
image: ghcr.io/home-assistant/home-assistant:stable
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /dev:/dev
- /etc/localtime:/etc/localtime:ro
- ./config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
image: ghcr.io/home-assistant/home-assistant:stable
EOF
msg_ok "Added Home Assistant compose.yaml"
fi

Loading…
Cancel
Save

Powered by BW's shoe-string budget.