I’ve currently got Traefik working with all setup in my docker compose file using commands and now trying to move that to a Traefik.yml file - mainly to add the crowdsec bouncer more easily.
I’ve done a fair bit of digging and worked out how to map the commands over. Just having an issue that’s driving me mad at the moment as I keep getting an error field not found, node: provider
I know this is going to be something simple in terms of formatting of the file but for the life of me I can’t figure it out.
Here’s my Traefik.yml - if anyone can tell me what stupid mistake I’ve made I’d appreciate it.
Thanks, wasn’t sure what a backtick was so had to google it. I did try adding ``` to the start and end of my code and removed all blank lines and comments but getting a different error now
I’ve amended the code as I noticed the serverstransport wasn’t correctly aligned.
Traefik seems to be working now as no errors in the container logs but when I try to open for example sonarr.mydomain.duckdns.org I get an error saying the site could not be reached.
Nothing in the Traefik.log file either at the time of my request
When I use the amended config with the cut down docker compose and new traefik.yml files I can’t get to my hosted apps.
I don’t get anything in access.log and nothing in traefik.log for the time when I try to access so looks like it’s not hitting traefik but no idea why as all other setup is the same (ddns, router port forwarding, etc).
If I switch back to the full docker compose I pasted in then it works straight away
Interestingly I can access the one service that I have specified in the traefik.yml (dsm) when I specify a port on the end of the url - https://dsm.mydomain.duckdns.org:5000
I can’t access any of the services that traefik should be picking up from the docker compose labels on all my other containers - even if I add the port on the end.
Guessing that there is something wrong with how I have setup docker as a provider
Hello,
for the last error you pasted your websecure entryption definition should be indented one more level I guess seems like traefik isn't reading your configuration because of that you should have some logs on stdout you can see them with docker logs [container].