23 lines
668 B
YAML
23 lines
668 B
YAML
################################################################################
|
|
# Node-RED Stack or Compose
|
|
# see https://github.com/node-red/node-red-docker
|
|
################################################################################
|
|
################################################################################
|
|
version: "3"
|
|
|
|
services:
|
|
node-red:
|
|
container_name: node-red-${INSTANCE}
|
|
image: nodered/node-red:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "1880:1880"
|
|
networks:
|
|
- node-red-net
|
|
volumes:
|
|
- $DATA_DIR:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
networks:
|
|
node-red-net:
|