20 lines
603 B
YAML
20 lines
603 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
nodered:
|
|
container_name: nodered
|
|
image: nodered/node-red:3.0.2
|
|
restart: unless-stopped
|
|
ports:
|
|
- ${APP_PORT}:1880
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data:/data
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
traefik.enable: ${APP_EXPOSED}
|
|
traefik.http.routers.nodered.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.nodered.entrypoints: websecure
|
|
traefik.http.routers.nodered.service: nodered
|
|
traefik.http.routers.nodered.tls.certresolver: myresolver
|
|
traefik.http.services.nodered.loadbalancer.server.port: 1880 |