|
6 | 6 |
|
7 | 7 | Below is a table listing all possible configuration variables. |
8 | 8 |
|
9 | | -| Configuration Variable Name | Environment Variable Name | Configuration File Name | Default Value | Description | |
10 | | -| --------------------------- | ------------------------------- | ------------------------- | ------------------------------ | --------------------------------------------------------------------------- | |
11 | | -| ohsomeDB Host | `OHSOMEDB_HOST` | `ohsomedb_host` | `localhost` | ohsomeDB database connection parameter | |
12 | | -| ohsomeDB Port | `OHSOMEDB_PORT` | `ohsomedb_port` | `5432` | " | |
13 | | -| ohsomeDB Database | `OHSOMEDB_DB` | `ohsomedb_db` | `postgres` | " | |
14 | | -| ohsomeDB User | `OHSOMEDB_USER` | `ohsomedb_user` | `postgres` | " | |
15 | | -| ohsomeDB Password | `OHSOMEDB_PASSWORD` | `ohsomedb_password` | `mylocalpassword` | " | |
16 | | -| Postgres Host | `POSTGRES_HOST` | `postgres_host` | `localhost` | Postgres database connection parameter | |
17 | | -| Postgres Port | `POSTGRES_PORT` | `postgres_port` | `5445` | " | |
18 | | -| Postgres Database | `POSTGRES_DB` | `postgres_db` | `oqapi` | " | |
19 | | -| Postgres User | `POSTGRES_USER` | `postgres_user` | `oqapi` | " | |
20 | | -| Postgres Password | `POSTGRES_PASSWORD` | `postgres_password` | `oqapi` | " | |
21 | | -| Configuration File Path | `OQAPI_CONFIG` | - | `config/config.yaml` | Absolute path to the configuration file | |
22 | | -| Geometry Size Limit (km²) | `OQAPI_GEOM_SIZE_LIMIT` | `geom_size_limit` | `1000` | Area restriction of the input geometry | |
23 | | -| Python Log Level | `OQAPI_LOG_LEVEL` | `log_level` | `INFO` | Python logging level | |
24 | | -| Concurrent Computations | `OQAPI_CONCURRENT_COMPUTATIONS` | `concurrent_computations` | `4` | Limit number of concurrent Indicator computations for one API request | |
25 | | -| User Agent | `OQAPI_USER_AGENT` | `user_agent` | `ohsome-quality-api/{version}` | User-Agent header for requests tot the ohsome API | |
26 | | -| ohsome API URL | `OQAPI_OHSOME_API` | `ohsome_api` | `https://api.ohsome.org/v1/` | ohsome API URL | |
| 9 | +| Configuration Variable Name | Environment Variable Name | Configuration File Name | Default Value | Description | |
| 10 | +| --------------------------- | ------------------------------- | ------------------------- | ------------------------------ | --------------------------------------------------------------------------- | |
| 11 | +| ohsomeDB Host | `OHSOMEDB_HOST` | `ohsomedb_host` | `localhost` | ohsomeDB database connection parameter | |
| 12 | +| ohsomeDB Port | `OHSOMEDB_PORT` | `ohsomedb_port` | `5432` | " | |
| 13 | +| ohsomeDB Database | `OHSOMEDB_DB` | `ohsomedb_db` | `postgres` | " | |
| 14 | +| ohsomeDB User | `OHSOMEDB_USER` | `ohsomedb_user` | `postgres` | " | |
| 15 | +| ohsomeDB Password | `OHSOMEDB_PASSWORD` | `ohsomedb_password` | `mylocalpassword` | " | |
| 16 | +| ohsomeDB Contributions Table | `OHSOMEDB_CONTRIBUTIONS_TABLE` | `ohsomedb_contributions_table` | `contributions` | " | |
| 17 | +| Postgres Host | `POSTGRES_HOST` | `postgres_host` | `localhost` | Postgres database connection parameter | |
| 18 | +| Postgres Port | `POSTGRES_PORT` | `postgres_port` | `5445` | " | |
| 19 | +| Postgres Database | `POSTGRES_DB` | `postgres_db` | `oqapi` | " | |
| 20 | +| Postgres User | `POSTGRES_USER` | `postgres_user` | `oqapi` | " | |
| 21 | +| Postgres Password | `POSTGRES_PASSWORD` | `postgres_password` | `oqapi` | " | |
| 22 | +| Configuration File Path | `OQAPI_CONFIG` | - | `config/config.yaml` | Absolute path to the configuration file | |
| 23 | +| Geometry Size Limit (km²) | `OQAPI_GEOM_SIZE_LIMIT` | `geom_size_limit` | `1000` | Area restriction of the input geometry | |
| 24 | +| Python Log Level | `OQAPI_LOG_LEVEL` | `log_level` | `INFO` | Python logging level | |
| 25 | +| Concurrent Computations | `OQAPI_CONCURRENT_COMPUTATIONS` | `concurrent_computations` | `4` | Limit number of concurrent Indicator computations for one API request | |
| 26 | +| User Agent | `OQAPI_USER_AGENT` | `user_agent` | `ohsome-quality-api/{version}` | User-Agent header for requests tot the ohsome API | |
| 27 | +| ohsome API URL | `OQAPI_OHSOME_API` | `ohsome_api` | `https://api.ohsome.org/v1/` | ohsome API URL | |
27 | 28 |
|
28 | 29 |
|
29 | 30 | ## Configuration File |
|
0 commit comments