Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions stacks/home-automation/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Home Automation Stack
# Copy to .env and configure

TZ=Asia/Shanghai
DOMAIN=localhost

# MQTT Broker (Mosquitto)
MQTT_USERNAME=
MQTT_PASSWORD=

# Home Assistant (optional)
HA_PASSWORD=

# Node-RED (optional)
NR_ADMIN_USER=
NR_ADMIN_PASSWORD=
2 changes: 1 addition & 1 deletion stacks/home-automation/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ services:
- traefik.http.routers.zigbee2mqtt.tls=true
- traefik.http.services.zigbee2mqtt.loadbalancer.server.port=8080
healthcheck:
test: [CMD-SHELL, "curl -sf http://localhost:8080/ || exit 1"]
test: [CMD-SHELL, "wget -q --spider http://localhost:8080/ || exit 1"]
interval: 30s
timeout: 10s
retries: 3
Expand Down