Hello!
I seem to have stumbled up an issue, where traefik cannot find any services if the project name was set manually using docker compose.
So for example, if my docker compose file is like this:
version: '3.8'
name: 'reverseproxy'
services:
traefik:
.........
If I remove the name, then everything is back up online. The dashboard does not show any issues when I change the name, it shows all services to be online. Trying to access the url gives me a bad gateway. In the logs, the error is:
time="2023-07-30T16:18:38Z" level=debug msg="'502 Bad Gateway' caused by: dial tcp: lookup grafana on 127.0.0.11:53: no such host"
My dynamic conf is configured like this:
grafana:
loadBalancer:
servers:
- url: "http://grafana:3000"
Just curious why changing the stack name in compose make everything fail. Am I missing something? Thanks in advance!