Dashboard show only white page

I setup traefik using this [1] docu on github.

If i try access the page, i got a window for my credentials and after putted in i got only a blank, empty white website. It shows nothing. The adress of the page ist traefik.example.org and after the credentials it redirects to traefik.example.org/dashboard

My config looks like this

version: '3.9'

services:
  traefik:
    image: traefik:v3.0
    ports:
      - 80:80
      - 443:443
    networks:
      - proxy
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - letsencrypt:/letsencrypt
      - /var/log:/var/log
    command:
      - --api.dashboard=true
      - --log.level=DEBUG
      - --log.filepath=/var/log/traefik.log
      - --accesslog=true
      - --accesslog.filepath=/var/log/traefik-access.log
      - --providers.docker.network=proxy1
      - --providers.docker.exposedByDefault=false
      - --entrypoints.web.address=:80
      - --entrypoints.web.http.redirections.entrypoint.to=websecure
      - --entryPoints.web.http.redirections.entrypoint.scheme=https
      - --entrypoints.websecure.address=:443
      - --entrypoints.websecure.asDefault=true
      - --entrypoints.websecure.http.tls.certresolver=myresolver
      - --certificatesresolvers.myresolver.acme.email=mail@mail.me
      - --certificatesresolvers.myresolver.acme.tlschallenge=true
      - --certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json
    labels:
      - traefik.enable=true
      - traefik.http.routers.mydashboard.rule=Host(`traefik.example.org`)
      - traefik.http.routers.mydashboard.service=api@internal
      - traefik.http.routers.mydashboard.middlewares=myauth
      - traefik.http.middlewares.myauth.basicauth.users=user:pass
 
networks:
  proxy:
    name: traefikproxy

volumes:
  letsencrypt:
    name: letsencrypt

Thanks for any hints

Regards

This seems wrong:

Make sure the Docker network is correct, note that Docker compose might prefix the network with the project name, unless it's external or you use name:, see simple Traefik example.

I change docker.network=proxy1 to docker.network=traefikproxy but it still not work

If i check the url with the browser developer tools i see that there are some 404 messages and no further elements

I guess this is the some problem

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.