-
For context, I'm using the one at https://marketplace.digitalocean.com/apps/nextcloud The documentation says to change the master container environment variable, but I'm not sure how to do that. Ive tried using "env export" but that doesn't seem to work as it gets forgotten. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello, the Nextcloud datadir variable is on digital ocean by default set to So if you mount your external drive there before the first startup (and adjust the permissions correctly), you do not need to adjust the container startup command... |
Beta Was this translation helpful? Give feedback.
Hello, the Nextcloud datadir variable is on digital ocean by default set to
/mnt/ncdata
. See https://github.com/nextcloud-releases/all-in-one/blob/16e1c468317481128010badeabc5a342988c6f72/.build/digitalocean/files/var/lib/cloud/scripts/per-instance/001_onboot#L19So if you mount your external drive there before the first startup (and adjust the permissions correctly), you do not need to adjust the container startup command...