Skip to content

Commit d0d14bb

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versioned_docs/version-3.10/configurations.mdx

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

167167
```properties
168-
scalar.db.username=${env:<SCALAR_DB_USERNAME>:-admin}
169-
scalar.db.password=${env:<SCALAR_DB_PASSWORD>}
168+
scalar.db.username=${env:SCALAR_DB_USERNAME:-admin}
169+
scalar.db.password=${env:SCALAR_DB_PASSWORD}
170170
```
171171

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