Files
opt/compose.nodered.yaml

19 lines
418 B
YAML

services:
nodered:
image: nodered/node-red:4.1.0-22
container_name: nodered
ports:
- 1880:1880
volumes:
- /opt/nodered:/data
environment:
- TZ=Europe/Amsterdam
extra_hosts:
- "host:${HOST_IP}"
- "mqtt:${HOST_IP}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:1880/"]
interval: 30s
timeout: 10s
retries: 3