How have the configuration to be changed to proxy the dashboard to [myDomain.at/node-red-dashboard] (http://myDomain.at/node-red-dashboard) ?
current path : http://myDomain.at:1880/ui
->
http://myDomain.at/node-red-dashboard
Thanks!
> version: '3.3'
>
> services:
> traefik:
> image: traefik:latest
> container_name: traefik
> restart: always
> ports:
> - 80:80 # <== http
> - 8080:8080 # <== :8080 is where the dashboard runs on
> command:
> - --api.insecure=true
> - --api.dashboard=true
> - --api.debug=true
> - --log.level=INFO
> - --providers.docker=true
> - --providers.docker.exposedbydefault=false
> - --entrypoints.web.address=:80
> volumes:
> - /var/run/docker.sock:/var/run/docker.sock
> labels:
> - traefik.enable=true
> - traefik.http.routers.api.service=api@internal
> - traefik.http.routers.traefik.rule=PathPrefix(`/api`) || PathPrefix(`/dashboard`)
>
> nodered:
> image: ctmagazin/ctnodered:latest
> container_name: node-red
> restart: always
> volumes:
> - nodered_data:/data
> - /etc/localtime:/etc/localtime
> environment:
> - TZ=Europe/Vienna
> labels:
> - traefik.enable=true
> - traefik.http.routers.nodered.rule=Host(`monitor.myDomain.at`)
> - traefik.http.routers.nodered.entrypoints=web
>
> volumes:
> nodered_data: