Skip to content

Commit

Permalink
readme: mention $REDIS_URL 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Jan 26, 2024
1 parent a1050c9 commit d53ff22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d53ff22

Please sign in to comment.