I have a Raspberry Pi 4 with Raspbian OS. I have Open Media Vault v5 installed on the Raspberry and I installed NextCloudPi using a docker. From this official documentation.
The SD card is mouted at: /
My HDD drive is mouted at: /srv/dev-disk-by-label-NAS/
Install command: docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v installpath:/data --name nextcloudpi ownyourbits/nextcloudpi-armhf 192.168.1.100
My question is, how do I install and run NextCloud on the SD card while all the user data is stored at the HDD?
I don’t want the data to be stored on the SD card since it’s only 16GB and I don’t want NextCloud to run at the HDD since it spins down after 10 minutes and therefore I get long startup times when I want to connect to my NextCloud.