Skip to content

Commit

Permalink
update changes in README
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Ramsay <[email protected]>
  • Loading branch information
seapagan committed Mar 26, 2024
1 parent 1840b11 commit 99a7708
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,22 @@ There is a `docker-compose-redis-only.yml` file in the root of this repository
that you can use to start a Redis server locally. Just run:

```bash
docker compose -f docker-compose-redis-only.yml u
docker compose -f docker-compose-redis-only.yml up -d
```

This will start a Redis server on `localhost:6379`, without any password.
This will spin up a Redis server on `localhost:6379`, without any password,
running in the background. You can stop it with:

```bash
docker compose -f docker-compose-redis-only.yml down
```

The image is based on
[redis/redis-stack](https://redis.io/docs/install/install-stack/docker/) so also
includes [RedisInsight](https://redis.io/docs/connect/insight/) running on port
`8001` that you can use to inspect the Redis server.

**Note that this is a development server and should not be used in production.**

### Initialize Redis in your FastAPI application

Expand Down

0 comments on commit 99a7708

Please sign in to comment.