Static config goes into docker-compose.yml command section of Traefik, dynamic config into labels.
docker-compose.yml