Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated README with compose v2 commands #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ Running Redis Stack with Docker
We've provided a Docker Compose file as part of this repo, so to start Redis Stack, use the following command:

```bash
docker-compose up -d
docker compose up -d
```

*Note:* in environments using older versions of Docker Compose (v1.x), use the ```docker-compose up -d``` command instead.

This will start a Redis Stack container with Redis exposed on localhost port 6379 with no password. You should see output similar to the following:

```
Expand All @@ -53,7 +55,7 @@ you are connected to Redis. Type `quit` to exit the Redis CLI.
When you are finished working with Redis, shut down the server like so:

```bash
docker-compose down
docker compose down
```

Redis saves your data in an append only file in the `redisdata` folder, and will re-load it next time you start the container.
Expand Down