Skip to content

Commit

Permalink
docs: update docker-compose command (#200)
Browse files Browse the repository at this point in the history
`docker-compose` only works on Compose v1.
For Compose v2, which was released 4 years ago, the command should be `docker compose`.

Signed-off-by: Trang Le <[email protected]>
Co-authored-by: James Guthrie <[email protected]>
  • Loading branch information
bytrangle and JamesGuthrie authored Nov 6, 2024
1 parent 227f955 commit 63d0dbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/vectorizer-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ On your local machine:

1. **Start the database**
```shell
docker-compose up -d db
docker compose up -d db
```

## Create and run a vectorizer
Expand Down Expand Up @@ -103,12 +103,12 @@ To create and run a vectorizer, then query the auto-generated embeddings created

In a new terminal, start the vectorizer worker:
```shell
docker-compose up -d vectorizer-worker
docker compose up -d vectorizer-worker
```

1. **Check the vectorizer worker logs**
```shell
docker-compose logs -f vectorizer-worker
docker compose logs -f vectorizer-worker
```

You see the vectorizer worker pick up the table and process it.
Expand Down
6 changes: 3 additions & 3 deletions docs/vectorizer-worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ On your local machine:

1. **Start the database**
```shell
docker-compose up -d db
docker compose up -d db
```

1. **Connect to your self-hosted database**
Expand All @@ -88,7 +88,7 @@ On your local machine:

In a new terminal, start the vectorizer worker:
```shell
docker-compose up -d vectorizer-worker
docker compose up -d vectorizer-worker
```

### Install the vectorizer worker Docker image
Expand Down Expand Up @@ -122,7 +122,7 @@ On your local machine:

In a new terminal, start the vectorizer worker:
```shell
docker-compose up -d vectorizer-worker
docker compose up -d vectorizer-worker
```

You can also use the run command
Expand Down

0 comments on commit 63d0dbd

Please sign in to comment.