From 09105e9e8fa0ce68716796ecb006c66b93cbe322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Fri, 21 Feb 2025 14:36:52 +0100 Subject: [PATCH] add posix to full deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- deployments/examples/opencloud_full/.env | 11 +++++++++-- deployments/examples/opencloud_full/posix.yml | 10 ++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 deployments/examples/opencloud_full/posix.yml diff --git a/deployments/examples/opencloud_full/.env b/deployments/examples/opencloud_full/.env index 71f005007b..ff06f2c396 100644 --- a/deployments/examples/opencloud_full/.env +++ b/deployments/examples/opencloud_full/.env @@ -71,7 +71,7 @@ LOG_LEVEL= # S3 Storage configuration - optional # OpenCloud supports S3 storage as primary storage. -# Per default, S3 storage is disabled and the local filesystem is used. +# Per default, S3 storage is disabled and the decomposed storage driver is used. # To enable S3 storage, uncomment the following line and configure the S3 storage. # For more details see: # https://doc.opencloud.eu/opencloud/next/deployment/storage/decomposeds3.html @@ -94,6 +94,13 @@ DECOMPOSEDS3_BUCKET= # Minio domain. Defaults to "minio.opencloud.test". MINIO_DOMAIN= +# POSIX Storage configuration - optional +# OpenCloud supports posix storage as primary storage. +# Per default, S3 storage is disabled and the decomposed storage driver is used. +# To enable POSIX storage, uncomment the following line. +# Note: the leading colon is required to enable the service. +#POSIX=:posix.yml + # Define SMPT settings if you would like to send OpenCloud email notifications. # For more details see: # https://doc.opencloud.eu/opencloud/latest/deployment/services/s-list/notifications.html @@ -237,4 +244,4 @@ INBUCKET_DOMAIN= # This MUST be the last line as it assembles the supplemental compose files to be used. # ALL supplemental configs must be added here, whether commented or not. # Each var must either be empty or contain :path/file.yml -COMPOSE_FILE=docker-compose.yml${OPENCLOUD:-}${TIKA:-}${DECOMPOSEDS3:-}${DECOMPOSEDS3_MINIO:-}${COLLABORA:-}${MONITORING:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${INBUCKET:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-} +COMPOSE_FILE=docker-compose.yml${OPENCLOUD:-}${TIKA:-}${DECOMPOSEDS3:-}${DECOMPOSEDS3_MINIO:-}${POSIX:-}${COLLABORA:-}${MONITORING:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${INBUCKET:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-} diff --git a/deployments/examples/opencloud_full/posix.yml b/deployments/examples/opencloud_full/posix.yml new file mode 100644 index 0000000000..74bac21057 --- /dev/null +++ b/deployments/examples/opencloud_full/posix.yml @@ -0,0 +1,10 @@ +--- +services: + opencloud: + environment: + # activate posix storage driver for users + STORAGE_USERS_DRIVER: posix + # keep system data on decomposed storage since this are only small files atm + STORAGE_SYSTEM_DRIVER: decomposed + # posix requires a shared cache store + STORAGE_USERS_ID_CACHE_STORE: "nats-js-kv"