26 lines
482 B
YAML
26 lines
482 B
YAML
|
|
service:
|
||
|
|
name: zigbee2mqtt
|
||
|
|
owner_node: piha
|
||
|
|
exposure: private
|
||
|
|
dependencies:
|
||
|
|
- mosquitto
|
||
|
|
ports:
|
||
|
|
- container: 8080
|
||
|
|
host: 8080
|
||
|
|
protocol: tcp
|
||
|
|
healthcheck:
|
||
|
|
type: http
|
||
|
|
endpoint: http://localhost:8080
|
||
|
|
interval: 30s
|
||
|
|
timeout: 10s
|
||
|
|
retries: 3
|
||
|
|
restart_policy: unless-stopped
|
||
|
|
persistence:
|
||
|
|
paths:
|
||
|
|
- /opt/homelab/data/zigbee2mqtt/data
|
||
|
|
runtime:
|
||
|
|
directories:
|
||
|
|
- /opt/homelab/data/zigbee2mqtt/data
|
||
|
|
env_vars:
|
||
|
|
- TZ
|