feat: add deployment configuration for homeassistant service in Docker stack

This commit is contained in:
2026-04-26 13:38:50 +08:00
parent b99ab02fcc
commit b86190dcf6
2 changed files with 43 additions and 1 deletions
+8 -1
View File
@@ -207,5 +207,12 @@ deploy-esphome: pull
set +a ;\
docker stack deploy --compose-file ./swarm/esphome.yml esphome ;\
}
deploy-homeassistant: pull
{ \
echo "Deploying the homeassistant stack..." ;\
set -a ;\
. ./swarm/.env ;\
set +a ;\
docker stack deploy --compose-file ./swarm/homeassistant.yml homeassistant ;\
}
# git submodule update --init --recursive