readme: mention $REDIS_URL 📝
This commit is contained in:
parent
a1050c9d90
commit
d53ff22d53
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@
|
|||
|
||||
## 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue