Docker compose volume mapping trouble

I’m a new user to OMV and Syncthing. I was able to get syncthing to work peer to peer as a test, but unable to get it to work in Docker.

I’m a gui user only, unless I have pretty clear directions.

I am able to create a folder on the NAS, and it populates with a Syncthing folder, but none of the folder content I expected.

I suspect the problem is in the volume mapping and I have two lines one for config and another for files. I have tried relative as well as absolute reference and neither help me get any further than where I am.

Here is my stack:

container_name: syncthing
    hostname: syncthingonbeelink #optional
      - PUID=1000
      - PGID=100
      - TZ=US/Eastern
      - xxxxxxx039a/data/appdata/config:/config
      - xxxxxxx39a/data/syncthing/myfiles:/syncthing/myfiles
      - 8384:8384
      - 22000:22000/tcp
      - 22000:22000/udp
      - 21027:21027/udp
    restart: unless-stopped

The appdata folder has a relative path of data/appdata/ the myfiles folder has a relative path of data/syncthing/myfiles

Under Compose services I have myfiles in the Compose Files section, and the appdata in the Data section.

Any suggestions would be appreciated. thanks, Scott

It should be /var/syncthing inside the container.