traefik-training icon indicating copy to clipboard operation
traefik-training copied to clipboard

traefik dashboard and whoami.docker.localhost not working

Open ghost opened this issue 5 years ago • 2 comments

Describe the bug traefik dashboard and whoami.docker.localhost not working

To Reproduce Steps to reproduce the behavior:

  1. 'run current 02-Configure-Traefik/docker-compose.file.yml'
  2. try opening dashboard
  3. will not open

Expected behavior Add insecure=true in traefik.yml to make dashboard working

but still whoami.docker.localhost is giving 404

ghost avatar Dec 26 '20 19:12 ghost

Yes, its not working, even catapp.localhost on chapter-2 also not working;

jdaku avatar Mar 20 '21 13:03 jdaku

Describe the bug traefik dashboard and whoami.docker.localhost not working

To Reproduce Steps to reproduce the behavior:

  1. 'run current 02-Configure-Traefik/docker-compose.file.yml'
  2. try opening dashboard
  3. will not open

Expected behavior Add insecure=true in traefik.yml to make dashboard working

but still whoami.docker.localhost is giving 404

In my previous (delete) reply, I forgot one of the changes I had made after I reset. Here is what I posted in the Q&A in the course:

I got one variation to work but some others I tried, which I expected to work, did not work. I obviously still don't know what I'm doing.

Two things: 1) swarmMode wants a different configuration that what is supplied, and exposedByDefault: false requires the service to be enabled.

The config that works is traefik.yml: set swarmMode: false. And docker-compose.file.yml: add under whoami/label and new entry "- traefik.enable=true"

simsrw73 avatar Jun 17 '22 14:06 simsrw73