Skip to content

Commit

Permalink
AUTO: Sync ScalarDB docs in English to docs site repo
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-wong committed Jan 14, 2025
1 parent d2075be commit 38070e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions versioned_docs/version-3.13/configurations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,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 38070e3

Please sign in to comment.