22 lines
386 B
YAML
22 lines
386 B
YAML
version: '2.1'
|
|
|
|
services:
|
|
nodered:
|
|
container_name: node-red
|
|
image: nodered/node-red
|
|
# user: root
|
|
ports:
|
|
- "1880:1880"
|
|
# dns:
|
|
# - 192.168.0.1
|
|
# - 8.8.8.8
|
|
volumes:
|
|
- ./data:/data
|
|
# - /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
- PGID=1000
|
|
- PUID=1000
|
|
restart: always
|
|
network_mode: host
|