Enable and configure file provider within a docker-compose defined Traefik instance

What I'm trying to achieve is to provide a file provider configuration to Traefik from a docker-compose.yml file.

It doesn't seem to be possible from the documentation File - Traefik tough, which only make reference to providing documentation form a file or a directory.

Just wanted to be sure, as I seemed to be able to get it working... almost (not along a docker provider config)