diff --git a/compose/nextcloud/.env.example b/compose/nextcloud/.env.example index d1882f6..599b904 100644 --- a/compose/nextcloud/.env.example +++ b/compose/nextcloud/.env.example @@ -1,6 +1,7 @@ AIO_PORT="8042" 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_MAX_TIME="3600" NEXTCLOUD_MEMORY_LIMIT="1024M" diff --git a/compose/nextcloud/docker-compose.yml b/compose/nextcloud/docker-compose.yml index e8d1a9c..f088303 100644 --- a/compose/nextcloud/docker-compose.yml +++ b/compose/nextcloud/docker-compose.yml @@ -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 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_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_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