Iām running Nextcloud AIO and Iām looking to ease integration with another web application (Dolibarr to be precise). Both are running in Docker compose, in rootless mode
This app generates/manages files and I would like to have them accessible in Nextcloud, in read-only mode I suppose.
Iām not sure what are the available options and with which cons and pros.
Some ideas based on what I read on aio doc or elsewhere
mount Dolibarr docs in Nextcloud with NEXTCLOUD_MOUNT : not sure I can share a docker volume this way
use Docker volumes shared between Nextcloud and Dolibarr. I read that volumes can be shared but have no idea how to configure Nextcloud to use this new volume (I want to keep my current DATADIR)
any other solutionā¦
I would appreciate any comment about experienced used sharing folder between AIO and another app.
I do not know your application Dolibarr. But I think you must use External Storage. If on the same server and accessible i would use External Storage Local. If not maybe SMB/CIFS.
I donāt know whether āLocalā is really the best option for Docker. Maybe someone here can give you more details. I think you need a mapping in Docker. Also read here.
External storage canāt be used directly because I have no server to share it (by FTP or webdav or s3ā¦).
Local external storage could be a solution but Iām not sure if it will compatible with a Docker volume without the risk of corrupting data. But if I can manage to only authorize readonly access it could be safe
Part of it depends on your container setup. I donāt know Dolibarr, but if you set it up to mount a host folder instead of a Docker volume, you could then use external storage to access the host via some protocol such as SFTP and access those files in Nextcloud.
The āLocalā option would not have the intended effect because itās running in Docker.