diff --git a/versioned_docs/version-3.11/configurations.mdx b/versioned_docs/version-3.11/configurations.mdx index be641bf7..117f1f64 100644 --- a/versioned_docs/version-3.11/configurations.mdx +++ b/versioned_docs/version-3.11/configurations.mdx @@ -184,8 +184,8 @@ You can use placeholders in the values, and they are replaced with environment v The following is an example of a configuration that uses placeholders: ```properties -scalar.db.username=${env::-admin} -scalar.db.password=${env:} +scalar.db.username=${env:SCALAR_DB_USERNAME:-admin} +scalar.db.password=${env:SCALAR_DB_PASSWORD} ``` In this example configuration, ScalarDB reads the username and password from environment variables. If the environment variable `SCALAR_DB_USERNAME` does not exist, ScalarDB uses the default value `admin`.