Syncthing permission denied on custom install

I tried installing syncthing as a custom app since syncthing cannot update when installed through the official means. I have the mounted folders giving the Apps user Modify permissions. In some post from syncthing I saw that the PUID and GUID could cause issues, so I have the 2 environment variables PUID and GUID set as 568 for apps. I then have 2 folders mounted in the app, /[folder name] and /var/syncthing/config for the config. I have the "configure container user and group ID set as 568 as well. When I add a new folder I get “failed to create folder root directory mkdir /var/syncthing/test: permission denied” and “error on fodler ‘test’ [id]: folder path missing”