diff --git a/deployments/examples/ocis_full/.env b/deployments/examples/ocis_full/.env index a2cac6b7b..8eb5deca2 100644 --- a/deployments/examples/ocis_full/.env +++ b/deployments/examples/ocis_full/.env @@ -58,6 +58,10 @@ LOG_LEVEL= # The default log can be read by machines. # Set this to true to make the log human readable. # LOG_PRETTY=true +# Define the oCIS storage location. Set the pathes for config and data to a local path +# Note that this can grow big. Leaving it unset stores data in docker internal volumes. +# OCIS_CONFIG_DIR=/your/local/ocis/config +# OCIS_DATA_DIR=/your/local/ocis/data # S3 Storage configuration - optional # Infinite Scale supports S3 storage as primary storage. diff --git a/deployments/examples/ocis_full/ocis.yml b/deployments/examples/ocis_full/ocis.yml index 1d4ad9f08..97600dc4d 100644 --- a/deployments/examples/ocis_full/ocis.yml +++ b/deployments/examples/ocis_full/ocis.yml @@ -55,8 +55,8 @@ services: - ./config/ocis/app-registry.yaml:/etc/ocis/app-registry.yaml - ./config/ocis/csp.yaml:/etc/ocis/csp.yaml - ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt - - ocis-config:/etc/ocis - - ocis-data:/var/lib/ocis + - ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis + - ${OCIS_DATA_DIR:-ocis-data}:/var/lib/ocis labels: - "traefik.enable=true" - "traefik.http.routers.ocis.entrypoints=https" diff --git a/docs/ocis/deployment/ocis_full.md b/docs/ocis/deployment/ocis_full.md index 0ddce1c35..1b45c10f9 100644 --- a/docs/ocis/deployment/ocis_full.md +++ b/docs/ocis/deployment/ocis_full.md @@ -129,6 +129,10 @@ See also [example server setup]({{< ref "preparing_server" >}}) # The default log can be read by machines. # Set this to true to make the log human readable # LOG_PRETTY=true + # Define the oCIS storage location. Set the pathes for config and data to a local path + # Note that this can grow big. Leaving it unset stores data in docker internal volumes. + # OCIS_CONFIG_DIR=/your/local/ocis/config + # OCIS_DATA_DIR=/your/local/ocis/data # S3 Storage configuration #