Skip to content

Commit

Permalink
AUTO: Sync ScalarDB docs in English to docs site repo (#824)
Browse files Browse the repository at this point in the history
Co-authored-by: josh-wong <[email protected]>
  • Loading branch information
github-actions[bot] and josh-wong authored Jan 14, 2025
1 parent 266386d commit 6540319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions versioned_docs/version-3.11/configurations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:<SCALAR_DB_USERNAME>:-admin}
scalar.db.password=${env:<SCALAR_DB_PASSWORD>}
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`.
Expand Down

0 comments on commit 6540319

Please sign in to comment.