Skip to content

Commit

Permalink
docs(configuration): Extend the minimal configuration
Browse files Browse the repository at this point in the history
This adds the same example with properties and environment variables but links to the relevant page for more detail.
  • Loading branch information
MichaelsJP committed Nov 18, 2024
1 parent 60dee0a commit 88b9af1
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/run-instance/configuration/configuration-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,20 @@ ors:
enabled: true
```
The two properties can be set in different ways, see [How to set Properties](how-to-set-properties.md)
The same configuration with properties would look like this:
```properties

ors.engine.profile_default.build.source_file=./osm_file.pbf
ors.engine.profiles.driving-car.enabled=true
```

And the configuration as environment variables:

```bash
ORS_ENGINE_PROFILE_DEFAULT_BUILD_SOURCE_FILE=./osm_file.pbf
ORS_ENGINE_PROFILES_DRIVING_CAR_ENABLED=true
```

For a deeper understanding on how the `properties` and `environment variables` can be used,
see [How to set Properties](how-to-set-properties.md)

0 comments on commit 88b9af1

Please sign in to comment.