docs: document using postgis

The previous example on using an alternative image isn't verbose enough for some users, so we use the new readme generation facilities to inject a note for postgis usage.

Closes #213
This commit is contained in:
Jose Diaz-Gonzalez
2021-09-13 01:37:22 -04:00
parent 5855d1bdd5
commit 36b5a80263
2 changed files with 11 additions and 0 deletions

View File

@@ -95,6 +95,12 @@ export POSTGRES_CUSTOM_ENV="USER=alpha;HOST=beta"
dokku postgres:create lollipop dokku postgres:create lollipop
``` ```
Official Postgres docker images 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
dokku postgres:create postgis-database --image "postgis/postgis" --image-version "13-3.1"
```
### print the service information ### print the service information
```shell ```shell

5
docs/create.md Normal file
View File

@@ -0,0 +1,5 @@
Official Postgres docker images 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
dokku postgres:create postgis-database --image "postgis/postgis" --image-version "13-3.1"
```