I installed Nextcloud Homeserver on a small Linux Computer and used the Github Installscript:
For Linux and without a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) already in place:
sudo docker run
> --env NEXTCLOUD_DATADIR=“/mnt/nextcloud”
as you can see I added (following the documentation) the bold marked line (=-env NEXTCLOUD_DATADIR="/mnt/nextcloud) and I hoped, that during the installation this directory will be used for my data. But this did not worked.
What shall I do? to modify the script in that way that this external harddrive is used fo my nextcloud data?
May thanks in advance