Split config.yml into multiple files (with docker-compose)

I'm using Traefik reverse proxy via docker-compose, which is working fine.

But I want to split config.yml into multiple files, but can't manage to get it to work.

In traefik.yml I changed:

  file:
    filename: /config.yml

to

  file:
    directory: /home/jono/docker/traefik/data/config/

I also tried:

  file:
    directory: config/

and

  file:
    directory: /config

In docker-compose, under volumes I tried changing:

- /home/jono/docker/traefik/data/config.yml:/config.yml:ro

to

- /home/jono/docker/traefik/data/config:/config/

But I haven't managed to find any documentation on how this should be changed, so 'just guessed', and wasn't surprised when it didn't work.

So if anyone could help with how I can split config.yml into multiple file I'd really appreciate it