Skip to content

Commit

Permalink
cache: doc config vars
Browse files Browse the repository at this point in the history
Signed-off-by: Avelino <avelinorun@gmail.com>
  • Loading branch information
avelino committed Dec 23, 2021
1 parent 7e2afd7 commit 02935ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/configurations/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ Via environment variables or via toml file.
| PREST\_PG_DATABASE | | |
| PREST\_PG_PORT | 5432 | |
| PREST\_PG_URL or **DATABASE\_URL** | | cloud factor, _when declaring this variable all the previous connection fields are overwritten_ |
| PREST\_CACHE | false | embded cache system |
| PREST\_CACHE_TIME | 10 | TTL in minute (time to live) |
| PREST\_CACHE_STORAGEPATH | ./ | path where the cache file will be created |
| PREST\_CACHE_SUFIXFILE | .cache.prestd.db | |
| PREST\_JWT_KEY | | |
| PREST\_JWT_ALGO | HS256 | |
| PREST\_JWT_WHITELIST | [/auth] | |
Expand Down

0 comments on commit 02935ec

Please sign in to comment.