homeassistant inkl. update Script.
This commit is contained in:
10
homeassistant/update.sh
Executable file
10
homeassistant/update.sh
Executable 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
|
||||
Reference in New Issue
Block a user