Configuration styling

Hey there,

During research of a particular problem I encountered that there are a lot of different ways someone can write the configuration for traefik.

  • directly within docker-compose
  • use a toml file
  • use a yaml file
  • dynamically load stuff from a directory

So whats the best/preferred/future proof way to do configuration?


Great question, and one that is best answered with a solid understanding of your use cases and organizational capabilities along with future plans. The best approach is the one that you find fits best taking those considerations into account.

I hope this helps!