Source

version: '3.9'

services:
    node-red:
      image: nodered/node-red:latest
      volumes:
        - /mnt/docker/data/node-red/data:/data
      ports:
        - 1880:1880
      environment:
        - PUID=1000
        - PGID=1000
        - TZ=Etc/UTC
        - FLOWS="/data/flows.json"