Unable to have multiple NEXTCLOUD_MOUNT

Hi
i wanted to use multiple local_storages within the external storage plugin and i stupidly tried adding -e NEXTCLOUD_MOUNT="/mnt/folder1" -e NEXTCLOUD_MOUNT="/mnt/folder2" to my docker run command not realizing they’re environmental variables so now i’m stuck with just one of these folders available.

Which is the proper way to achieve this?

Hi, the correct way is using the parent folder. In your case -e NEXTCLOUD_MOUNT="/mnt/"

1 Like