Setup: Proxmox>LXC with Docker> ONLYOFFICE Workspace Community Docker script file.
I’m trying to better understand and control where ONLYOFFICE Workspace stores documents created through the web interface.
Right now, when I create a new document (e.g., example.docx) in the Documents module, I can see it in the UI, but I can’t easily locate the corresponding file on disk. I’ve searched inside the container (under paths like /var/www/onlyoffice/Data and /app/onlyoffice/CommunityServer/data), but I still can’t find where the new files are being saved.
What I’d like to do is move the data storage location to a custom directory on my host machine (e.g., /data/onlyoffice/CommunityServer/documents) so that:
- All newly created documents are stored in a predictable location outside the container.
- Files persist even if I remove or recreate the container.
- I can directly access, back up, and manage them from the host system.
Has anyone successfully moved the ONLYOFFICE data directory to a different location on the host? And if so, how did you make sure new documents created in the web UI are written there?