Skip to content

Commit

Permalink
readme: clarify that $REDIS_URL is optional 📝
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 e84abb3 commit 45a6d08
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

`vbb-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 45a6d08

Please # to comment.