I’m working on storing time-series data as CSV files on a Synology NAS.
The data is generated by a service running inside Docker (e.g. Node-RED), and I’m trying to write this data to a shared folder on the NAS.
Current setup:
Thanks in advance.
FTMZ
The data is generated by a service running inside Docker (e.g. Node-RED), and I’m trying to write this data to a shared folder on the NAS.
Current setup:
- Synology NAS running DSM
- Docker container (Node-RED or similar)
- Volume mapping to a shared folder, for example:
/volume1/docker/nodered/data/
- The container runs correctly
- The service processes data without issues
- Writing to files (CSV) fails due to permission errors
- The container either cannot create files or cannot append to existing ones
- File system permissions / ownership mismatch
- Container user not matching Synology user/group
- Possibly missing or incorrect PUID/PGID configuration
- What is the recommended way to configure write permissions for Docker containers on Synology?
- Should I align container user IDs with NAS users (PUID/PGID)?
- Is it better to manage permissions via DSM (shared folder settings) or via Docker config?
- Are there known best practices for writing log/data files (like CSV) from containers?
Thanks in advance.
FTMZ