diff --git a/deployments/examples/ocis_wopi/.env b/deployments/examples/ocis_wopi/.env index 1230e0a1f4a..acca8cec032 100644 --- a/deployments/examples/ocis_wopi/.env +++ b/deployments/examples/ocis_wopi/.env @@ -65,6 +65,14 @@ DEMO_USERS= # https://doc.owncloud.com/ocis/latest/deployment/services/env-vars-special-scope.html LOG_LEVEL= +# Define the oCIS storage location. Set the paths for config and data to a local path. +# Note that especially the data directory can grow big. +# Leaving it default stores data in docker internal volumes. +# For more details see: +# https://doc.owncloud.com/ocis/next/deployment/general/general-info.html#default-paths +# OCIS_CONFIG_DIR=/your/local/ocis/config +# OCIS_DATA_DIR=/your/local/ocis/data + # Define SMPT settings if you would like to send Infinite Scale email notifications. # For more details see: # https://doc.owncloud.com/ocis/latest/deployment/services/s-list/notifications.html diff --git a/deployments/examples/ocis_wopi/collabora.yml b/deployments/examples/ocis_wopi/collabora.yml index 69a7feb4c26..3e95b6ab182 100644 --- a/deployments/examples/ocis_wopi/collabora.yml +++ b/deployments/examples/ocis_wopi/collabora.yml @@ -56,7 +56,8 @@ services: # share the registry with the ocis container MICRO_REGISTRY_ADDRESS: ocis:9233 volumes: - - ocis-config:/etc/ocis + # configure the .env file to use own paths instead of docker internal volumes + - ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis logging: driver: ${LOG_DRIVER:-local} restart: always diff --git a/deployments/examples/ocis_wopi/ocis.yml b/deployments/examples/ocis_wopi/ocis.yml index f9805a3afd6..ca547197b7e 100644 --- a/deployments/examples/ocis_wopi/ocis.yml +++ b/deployments/examples/ocis_wopi/ocis.yml @@ -43,9 +43,10 @@ services: # enable to allow using the banned passwords list #OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: banned-password-list.txt volumes: + # configure the .env file to use own paths instead of docker internal volumes + - ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis + - ${OCIS_DATA_DIR:-ocis-data}:/var/lib/ocis # paths are relative to the main compose file - - ocis-config:/etc/ocis - - ocis-data:/var/lib/ocis - ./config/ocis/app-registry.yaml:/etc/ocis/app-registry.yaml - ./config/ocis/web.yaml:/etc/ocis/web.yaml - ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt diff --git a/deployments/examples/ocis_wopi/onlyoffice.yml b/deployments/examples/ocis_wopi/onlyoffice.yml index c0b10ecebc3..09e872ecf1b 100644 --- a/deployments/examples/ocis_wopi/onlyoffice.yml +++ b/deployments/examples/ocis_wopi/onlyoffice.yml @@ -62,7 +62,8 @@ services: # share the registry with the ocis container MICRO_REGISTRY_ADDRESS: ocis:9233 volumes: - - ocis-config:/etc/ocis + # configure the .env file to use own paths instead of docker internal volumes + - ${OCIS_CONFIG_DIR:-ocis-config}:/etc/ocis logging: driver: ${LOG_DRIVER:-local} restart: always