Update README.md

This commit is contained in:
JannikStreek 2022-06-11 20:06:58 +02:00 committed by GitHub
parent 71e92ede01
commit 7722cbf19e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,5 +21,6 @@ It use Keyv as a simple K/V store so you can use the database of your choice.
| `PORT` | Server listening port | 8080 | | `PORT` | Server listening port | 8080 |
| `GLOBAL_PREFIX` | API global prefix for every routes | `/api/v2` | | `GLOBAL_PREFIX` | API global prefix for every routes | `/api/v2` |
| `STORAGE_URI` | [Keyv](https://github.com/jaredwray/keyv) connection string, example: `redis://user:pass@localhost:6379`. Availabe Keyv storage adapter: redis, mongo, postgres and mysql | `""` (in memory **non-persistent**) | | `STORAGE_URI` | [Keyv](https://github.com/jaredwray/keyv) connection string, example: `redis://user:pass@localhost:6379`. Availabe Keyv storage adapter: redis, mongo, postgres and mysql | `""` (in memory **non-persistent**) |
| `STORAGE_TTL` | Time to live for data | null |
| `LOG_LEVEL` | Log level (`debug`, `verbose`, `log`, `warn`, `error`) | `warn` | | `LOG_LEVEL` | Log level (`debug`, `verbose`, `log`, `warn`, `error`) | `warn` |
| `BODY_LIMIT` | Payload size limit for scenes or images | `50mb` | | `BODY_LIMIT` | Payload size limit for scenes or images | `50mb` |