Required Traefik Volumes

Hello,

I have been working to clean up my home server as everything is a mess of copy paste from a million different tutorials and it doesn't work if the other half is running.
Traefik 3 documentation is giving me a bit of a headache: I am trying to mount my volumes and I need to know what I actually need to mount and where, and why traefik should care. It seems that I could mount anything I liked as a volume, but I see no clear instructions as to how to tell traefik what to do with it. The only volume I can see in the docs is traefik.yml needs to be at "/etc/traefik/", I can't find anything else.
Is there a list of the volumes traefik requires and what they should be called/where they should be mounted? Or somewhere I need to define what the different volumes are for? Everything I have cut and pasted works in the context it was written but I want to combine my various projects, make them work together, and do it correctly.
For example certificates, dynamic config, rules......

If this is silly, I apologize, I'm trying to actually learn how this works and stop doing the copy paste thing.

Thanks!

The basic config comes from traefik.yml, but even that location can be changed with command: --configFile=/traefik.yml.

All dynamic config files or acme TLS files can be referenced with a full path, so it’s up to you where to place them.

Maybe compare to simple Traefik example.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.