Skip to content

Commit

Permalink
docs: document pgvector usage
Browse files Browse the repository at this point in the history
Closes #305
  • Loading branch information
josegonzalez authored Nov 3, 2024
1 parent b18d083 commit 61f0d78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/create.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
Official Postgres "$DOCKER_BIN" image ls does not include postgis extension (amongst others). The following example creates a new postgres service using `postgis/postgis:13-3.1` image, which includes the `postgis` extension.

```shell
# use the appropriate image-version for your use-case
dokku postgres:create postgis-database --image "postgis/postgis" --image-version "13-3.1"
```

To use pgvector instead, run the following:

```shell
# use the appropriate image-version for your use-case
dokku postgres:create pgvector-database --image "pgvector/pgvector" --image-version "pg17"
```

0 comments on commit 61f0d78

Please sign in to comment.