app-store/apps/nodered/docker-compose.yml
Nicolas Meienberger 49e9316685
local domain configs M-O (#689)
* feat(jackett): change config to support local domain

* feat(matrix-conduit): change config to support local domain

* feat(mealie): change config to support local domain

* feat(memos): change config to support local domain

* feat(mind): change config to support local domain

* feat(minecraft-server): change config to support local domain

* feat(mixpost): change config to support local domain

* feat(mixpost-pro): change config to support local domain

* feat(moneroblock): change config to support local domain

* feat(monerod): change config to support local domain

* feat(monica): change config to support local domain

* feat(movary): change config to support local domain

* feat(mstream): change config to support local domain

* feat(mylar3): change config to support local domain

* feat(n8n): change config to support local domain

* feat(navidrome): change config to support local domain

* feat(nitter): change config to support local domain

* feat(nocodb): change config to support local domain

* feat(nodered): change config to support local domain

* feat(onedev): change config to support local domain

* feat(openbooks): change config to support local domain

* feat(overseerr): change config to support local domain

* feat(owncloud): change config to support local domain
2023-06-12 21:58:59 +02:00

39 lines
1.6 KiB
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:
# 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