diff --git a/.env.example b/.env.example index 0e7d955..3b809d7 100644 --- a/.env.example +++ b/.env.example @@ -134,6 +134,11 @@ OC_DATA_DIR= # Example: curl -L https://github.com/opencloud-eu/web-extensions/releases/download/unzip-v1.0.2/unzip-1.0.2.zip -o config/opencloud/apps/unzip-1.0.2.zip && unzip config/opencloud/apps/unzip-1.0.2.zip -d config/opencloud/apps && rm config/opencloud/apps/unzip-1.0.2.zip # NOTE: you need to restart the openCloud container to load the new extensions. #OC_APPS_DIR=/your/local/opencloud/apps +# +# The default language used by services and the WebUI. +# Uses ISO 639-1 language codes (e.g. "en", "de", "fr"). +# Defaults to English if not set. +DEFAULT_LANGUAGE= # Define the ldap-server storage location. Set the paths for config and data to a local path. # Leaving it default stores data in docker internal volumes. diff --git a/docker-compose.yml b/docker-compose.yml index 7f99de0..e43e317 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -53,6 +53,8 @@ services: OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:-1}" OC_PASSWORD_POLICY_MIN_DIGITS: "${OC_PASSWORD_POLICY_MIN_DIGITS:-1}" OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:-1}" + # default language for services/WebUI; defaults to English, language code (ISO 639-1, e.g. de, en, fr) + OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE} volumes: - ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml - ./config/opencloud/banned-password-list.txt:/etc/opencloud/banned-password-list.txt