homeassistant inkl. update Script.

This commit is contained in:
Olli Graf
2025-01-08 10:04:40 +01:00
parent 59593ee076
commit 8e70b0246d
3 changed files with 52 additions and 0 deletions

10
homeassistant/update.sh Executable file
View File

@@ -0,0 +1,10 @@
#! /usr/bin/bash
export COMPOSE_IGNORE_ORPHANS=True
echo "pulling new images"
docker pull ghcr.io/home-assistant/home-assistant:stable
docker pull zwavejs/zwavejs2mqtt:latest
echo "removing container"
docker rm -f homeassistant zwavejs2mqtt
echo "creating new container"
docker-compose -f ./docker-compose.yml up -d