Skip to content

Commit

Permalink
Merge pull request #329 from dokku/josegonzalez-patch-1
Browse files Browse the repository at this point in the history
Document pgvector usage
  • Loading branch information
josegonzalez authored Nov 3, 2024
2 parents b18d083 + 61f0d78 commit 081ab67
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 081ab67

Please sign in to comment.