File provider on docker-compose?

Following this it mentions You could also route to additional hosts as part of your dynamic configuration if you defined them with the File provider . In the traefik v2.6 user guide for dns auth here it just uses one file (dynamic?) docker-compose. Can you adapt it to that setup, or you must now create an additional file to access external web-servers/hosts through the proxy?