19 lines
402 B
YAML
19 lines
402 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
|