feat: add home assistant stack
This commit is contained in:
18
homeassistant/docker-compose.yaml
Normal file
18
homeassistant/docker-compose.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: homeassistant
|
||||||
|
|
||||||
|
services:
|
||||||
|
homeassistant:
|
||||||
|
image: ghcr.io/home-assistant/home-assistant:stable
|
||||||
|
container_name: homeassistant
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- /mnt/docker-ssd/docker/appdata/homeassistant:/config
|
||||||
|
environment:
|
||||||
|
- TZ=America/Chicago
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "curl -sf http://127.0.0.1:8123/ || exit 1"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 60s
|
||||||
Reference in New Issue
Block a user