app-store/apps/nodered/docker-compose.yml
renovate[bot] fd9cb2a58a
chore(deps): update nodered/node-red docker tag to v4 (#3842)
* chore(deps): update nodered/node-red docker tag to v4

* Update app version [ready]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tipi CI <ci@runtipi.io>
2024-06-23 01:51:06 +02:00

39 lines
1.6 KiB
YAML

version: "3.7"
services:
nodered:
container_name: nodered
image: nodered/node-red:4.0.0
restart: unless-stopped
ports:
- ${APP_PORT}:1880
volumes:
- ${APP_DATA_DIR}/data:/data
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.nodered-web-redirect.redirectscheme.scheme: https
traefik.http.services.nodered.loadbalancer.server.port: 1880
# Web
traefik.http.routers.nodered-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.nodered-insecure.entrypoints: web
traefik.http.routers.nodered-insecure.service: nodered
traefik.http.routers.nodered-insecure.middlewares: nodered-web-redirect
# Websecure
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
# Local domain
traefik.http.routers.nodered-local-insecure.rule: Host(`nodered.${LOCAL_DOMAIN}`)
traefik.http.routers.nodered-local-insecure.entrypoints: web
traefik.http.routers.nodered-local-insecure.service: nodered
traefik.http.routers.nodered-local-insecure.middlewares: nodered-web-redirect
# Local domain secure
traefik.http.routers.nodered-local.rule: Host(`nodered.${LOCAL_DOMAIN}`)
traefik.http.routers.nodered-local.entrypoints: websecure
traefik.http.routers.nodered-local.service: nodered
traefik.http.routers.nodered-local.tls: true