Trying to work out why this isn't working. I'm sure I've done this before! Error is:
ERR Router nodered cannot be linked automatically with multiple Services: ["nodered" "nr"] providerName=docker routerName=nodered
(and then vice versa):
ERR Router nr cannot be linked automatically with multiple Services: ["nodered" "nr"] providerName=docker routerName=nr
This is my docker-compose (https
is port 443 and admin-secure
is on port 3443)
services:
node-red:
image: nodered/node-red:latest
container_name: node-red
environment:
- NODE_RED_ENABLE_PROJECTS=true
volumes:
- nodered_data:/data
expose:
- 1880
- 3000
labels:
traefik.enable: true
traefik.docker.network: proxy
# ui
traefik.http.routers.nodered.rule: Host(`nr.example.com`)
traefik.http.routers.nodered.tls: true
traefik.http.routers.nodered.tls.certresolver: myprovider
traefik.http.routers.nodered.entrypoints: admin-secure
traefik.http.services.nodered.loadbalancer.server.port: 1880
# webhooks
traefik.http.routers.nr.rule: Host(`nr.example.com`)
traefik.http.routers.nr.tls: true
traefik.http.routers.nr.tls.certresolver: myprovider
traefik.http.routers.nr.entrypoints: https
traefik.http.services.nr.loadbalancer.server.port: 3000
restart: unless-stopped
networks:
- proxy
volumes:
nodered_data:
networks:
proxy:
external: true
What am I doing wrong here?