readme: mention $REDIS_URL 📝

This commit is contained in:
Jannis R 2024-01-26 17:38:20 +01:00
parent a1050c9d90
commit d53ff22d53
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -15,7 +15,9 @@
## installing & running ## installing & running
`db-rest` expects a [Redis](https://redis.io/) server running on `127.0.0.1:6379` (default port), but you can set the `REDIS_URL` environment variable to change this. ### access to Redis
It is recommended that you let `bvg-rest` cache HAFAS responses within a [Redis](https://redis.io/) cache. To use this feature, set `$REDIS_URL` (e.g. to `redis://localhost:6379/1` when running Redis locally).
### via Docker ### via Docker