Traefik with Authelia configuration problem in docker swarm

I found one error in my config

This should be


- --providers.docker.network=traefik

However Authelia still doesn’t seem to work. I’m seeing this error in Traefik logs


level=debug msg="Error calling http://authelia:9091/api/verify?rd=https://login.domain.xyz/. Cause: Get \"http://authelia:9091/api/verify?rd=https://login.domain.xyz/\": dial tcp: lookup authelia on 127.0.0.11:53: no such host" middlewareName=authelia@docker middlewareType=ForwardedAuthType

Hope somebody can point me in the right direction with this