Skip to content

Commit ccf2fc5

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/configurations.mdx

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

219219
```properties
220-
scalar.db.username=${env:<SCALAR_DB_USERNAME>:-admin}
221-
scalar.db.password=${env:<SCALAR_DB_PASSWORD>}
220+
scalar.db.username=${env:SCALAR_DB_USERNAME:-admin}
221+
scalar.db.password=${env:SCALAR_DB_PASSWORD}
222222
```
223223

224224
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)