|
| 1 | +Appendix |
| 2 | +======== |
| 3 | + |
| 4 | +Environment variables used by pydggsapi |
| 5 | +--------------------------------------- |
| 6 | + |
| 7 | +Mandatory |
| 8 | +~~~~~~~~~ |
| 9 | + |
| 10 | +============================== =========================================== =============================== |
| 11 | +Environment variable name Defautl value Description |
| 12 | +============================== =========================================== =============================== |
| 13 | +DGGS_API_CONFIG No default, mandatory Path to pydggsapi configration |
| 14 | +============================== =========================================== =============================== |
| 15 | + |
| 16 | +Optional |
| 17 | +~~~~~~~~~ |
| 18 | +============================== =========================================== =============================== |
| 19 | +Environment variable name Defautl value Description |
| 20 | +============================== =========================================== =============================== |
| 21 | +WORKERS 4 Uvicorn number of workers |
| 22 | +BIND 0.0.0.0:8000 Uvicorn binding address |
| 23 | +DGGS_PREFIX /dggs-api pydggsapi url prefix |
| 24 | +TILES_PREFIX /tiles-api pydggsapi MVT tiles url prefix |
| 25 | +API_TITLE University of Tartu, OGC DGGS API v1-pre FastAPI title |
| 26 | +API_DESCRIPTION OGC DGGS API FastAPI description |
| 27 | +ROOT_PATH None FastAPI root_path |
| 28 | +OPENAPI_URL /openapi.json FastAPI openapi path |
| 29 | +DOCS_URL /docs FastAPI docs url |
| 30 | +SWAGGER_UI_OAUTH2_REDIRECT_URL /docs/oauth2-redirect FastAPI openapi aith redirect url |
| 31 | +CORS ["http://localhost"] FastAPI Cross-origin resource sharing |
| 32 | +GZIP_ENABLED True FastAPI enable Gzip compression |
| 33 | +GZIP_COMPRESS_LEVEL 5 FastAPI Gzip compress level |
| 34 | +GZIP_MINIMUM_SIZE 500 FastAPI minimum size for compression |
| 35 | +REDOC_URL /redoc |
| 36 | +DGGRID_PATH None Path to dggrid executable, only use with IGEO7DGGRSProvider |
| 37 | +============================== =========================================== =============================== |
| 38 | + |
0 commit comments