From 36b5a80263775d514bf026041842a8e535344b33 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 13 Sep 2021 01:37:22 -0400 Subject: [PATCH] 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 --- README.md | 6 ++++++ docs/create.md | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 docs/create.md diff --git a/README.md b/README.md index 1e7d2ba..cc67bd4 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,12 @@ export POSTGRES_CUSTOM_ENV="USER=alpha;HOST=beta" 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 ```shell diff --git a/docs/create.md b/docs/create.md new file mode 100644 index 0000000..fecb7a5 --- /dev/null +++ b/docs/create.md @@ -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" +```