Skip to content

Commit

Permalink
readme: mention $REDIS_URL 📝
Browse files Browse the repository at this point in the history
db-rest equivalent: derhuerst/db-rest@d53ff22
  • Loading branch information
derhuerst committed Jan 26, 2024
1 parent 2f00f33 commit 4a040b2
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 @@ -14,7 +14,9 @@

## installing & running

`bvg-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 4a040b2

Please sign in to comment.