chore(nextcloud): add external mount

This commit is contained in:
2026-03-02 23:45:00 +01:00
parent 2ba1ed1999
commit e23a28deb1
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
AIO_PORT="8042" AIO_PORT="8042"
FULLTEXTSEARCH_JAVA_OPTIONS="-Xms1024M -Xmx1024M" FULLTEXTSEARCH_JAVA_OPTIONS="-Xms1024M -Xmx1024M"
NEXTCLOUD_DATADIR="/path/to/your/data" NEXTCLOUD_DATADIR="/path/to/your/ncdata"
NEXTCLOUD_MOUNT="/other/path/you/want/to/mount"
NEXTCLOUD_UPLOAD_LIMIT="16G" NEXTCLOUD_UPLOAD_LIMIT="16G"
NEXTCLOUD_MAX_TIME="3600" NEXTCLOUD_MAX_TIME="3600"
NEXTCLOUD_MEMORY_LIMIT="1024M" NEXTCLOUD_MEMORY_LIMIT="1024M"

View File

@@ -22,7 +22,7 @@ services:
# DOCKER_API_VERSION: 1.44 # You can adjust the internally used docker api version with this variable. ⚠️⚠️⚠️ Warning: please note that only the default api version (unset this variable) is supported and tested by the maintainers of Nextcloud AIO. So use this on your own risk and things might break without warning. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-internally-used-docker-api-version # DOCKER_API_VERSION: 1.44 # You can adjust the internally used docker api version with this variable. ⚠️⚠️⚠️ Warning: please note that only the default api version (unset this variable) is supported and tested by the maintainers of Nextcloud AIO. So use this on your own risk and things might break without warning. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-internally-used-docker-api-version
FULLTEXTSEARCH_JAVA_OPTIONS: "${FULLTEXTSEARCH_JAVA_OPTIONS:--Xms1024M -Xmx1024M}" # Allows to adjust the fulltextsearch java options. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-fulltextsearch-java-options FULLTEXTSEARCH_JAVA_OPTIONS: "${FULLTEXTSEARCH_JAVA_OPTIONS:--Xms1024M -Xmx1024M}" # Allows to adjust the fulltextsearch java options. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-fulltextsearch-java-options
NEXTCLOUD_DATADIR: "${NEXTCLOUD_DATADIR:?}" # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir NEXTCLOUD_DATADIR: "${NEXTCLOUD_DATADIR:?}" # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
# NEXTCLOUD_MOUNT: /mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host NEXTCLOUD_MOUNT: "${NEXTCLOUD_MOUNT}" # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host
NEXTCLOUD_UPLOAD_LIMIT: "${NEXTCLOUD_UPLOAD_LIMIT:-16G}" # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud NEXTCLOUD_UPLOAD_LIMIT: "${NEXTCLOUD_UPLOAD_LIMIT:-16G}" # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud
NEXTCLOUD_MAX_TIME: "${NEXTCLOUD_MAX_TIME:-3600}" # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud NEXTCLOUD_MAX_TIME: "${NEXTCLOUD_MAX_TIME:-3600}" # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud
NEXTCLOUD_MEMORY_LIMIT: "${NEXTCLOUD_MEMORY_LIMIT:-1024M}" # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud NEXTCLOUD_MEMORY_LIMIT: "${NEXTCLOUD_MEMORY_LIMIT:-1024M}" # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud