Data1, Data2 locations

I’m looking at setting up syncthing using Docker and I’m a bit confused as to the purpose of the data1 and data2 volume mounts.

In my I just found out about Syncthing today depth of knowledge my understanding is that the sync directories are setup inside Syncthing.
I know from my other Docker containers that /path/to/dir:dir ‘points’ dir inside the container to /path/to/dir on the host machine.
Does this mean that I have to know all the directories I want to sync before creating the container, and if I need to add a directory in the future I need to add more volumes in the compose file?
Also are Data1, Data2 arbitrary names?

1 Like