added some settings to homeassistant template

This commit is contained in:
gyurix
2024-10-17 17:08:17 +02:00
parent 66ad7cd527
commit 8e65203c05
2 changed files with 34 additions and 2 deletions

View File

@@ -4,6 +4,27 @@
"DOMAIN": "DOMAIN"
},
"containers": [
{
"IMAGE": "alpine:latest",
"UPDATE": "true",
"NAME": "homeassistant-init",
"NETWORK": "host",
"MEMORY": "64M",
"VOLUMES": [
{
"SOURCE": "USER_DATA",
"DEST": "/etc/user/data",
"TYPE": "rw"
}
],
"EXTRA": "--rm",
"DEPEND": "null",
"START_ON_BOOT": "false",
"ENTRYPOINT": "sh -c",
"CMD": "mkdir -p /etc/user/data/homeassistant/config",
"PRE_START": "null",
"POST_START": "null"
},
{
"IMAGE": "ghcr.io/home-assistant/home-assistant:stable",
"UPDATE": "true",
@@ -23,8 +44,13 @@
"TYPE": "tcp"
}
],
"ENVS": [],
"EXTRA": "--restart always",
"ENVS": [
{
"NAME": "TZ",
"VALUE": "#HOMEASSISTANT_TZ"
}
],
"EXTRA": "--restart unless-stopped",
"DEPEND": [],
"START_ON_BOOT": "false",
"CMD": "null",