Skip to content

Commit 6540319

Browse files
AUTO: Sync ScalarDB docs in English to docs site repo (#824)
Co-authored-by: josh-wong <joshua.wong@scalar-labs.com>
1 parent 266386d commit 6540319

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versioned_docs/version-3.11/configurations.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ You can use placeholders in the values, and they are replaced with environment v
184184
The following is an example of a configuration that uses placeholders:
185185

186186
```properties
187-
scalar.db.username=${env:<SCALAR_DB_USERNAME>:-admin}
188-
scalar.db.password=${env:<SCALAR_DB_PASSWORD>}
187+
scalar.db.username=${env:SCALAR_DB_USERNAME:-admin}
188+
scalar.db.password=${env:SCALAR_DB_PASSWORD}
189189
```
190190

191191
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`.

0 commit comments

Comments
 (0)