Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traefik dashboard broken for latest #18008

Closed
mocdaniel opened this issue Apr 29, 2024 · 1 comment · Fixed by #18812
Closed

Traefik dashboard broken for latest #18008

mocdaniel opened this issue Apr 29, 2024 · 1 comment · Fixed by #18812

Comments

@mocdaniel
Copy link

Good evening,

I just spun up the cgr.dev/chainguard/traefik:latest image and noticed that the dashboard seems broken (screenshot below):

Screenshot 2024-04-29 at 20 07 04

The configuration of the container is fairly standard, as far as I can tell:

services:
  traefik:
    container_name: traefik
    image: cgr.dev/chainguard/traefik:latest
    labels:
      traefik.enable: true
      traefik.http.routers.api.entrypoints: websecure
      traefik.http.routers.api.rule: Host(`traefik.bodkys.house`)
      traefik.http.routers.api.tls: true
      traefik.http.routers.api.service: api@internal
    ports:
      - 443:443
    group_add:
      - 996
    command: >
      --api.dashboard
      --providers.docker
      --providers.docker.exposedByDefault=false
      --entrypoints.websecure.address=:443
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    restart: unless-stopped
    networks:
      - traefik

networks:
  traefik:
    external: true

The link from the broken dashboard leads here, so my best guess is the frontend just wasn't built the way it's supposed to be built.

Apart from the web UI, the image works just fine. If you need a more minimal example to reproduce, let me know.

@tuananh
Copy link
Contributor

tuananh commented May 8, 2024

@mocdaniel I'll take a look into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants