aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-12-11 16:27:10 +0000
committerGravatar Chris Lovering <[email protected]>2021-12-11 16:27:10 +0000
commit9373183ae171b1033b77a0077169243a6c3fd5bb (patch)
tree70ef337479a8909babb777d2eaab992bdb0c13e9
parentAdd build workflow for push to ghcr (diff)
Add a README file
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1a49820
--- /dev/null
+++ b/README.md
@@ -0,0 +1,13 @@
+# PostgreSQL + pg_cron
+
+Dockerfile for building Postgres with the [pg_cron](https://github.com/citusdata/pg_cron) extension from citrusdata.
+
+This image is derived from official [postgres:14-alpine](https://hub.docker.com/_/postgres) docker image. [docker-entrypint.sh](docker-entrypoint.sh) is directly from [docker-library](https://github.com/docker-library/postgres/blob/master/14/alpine/docker-entrypoint.sh).
+
+A pre-build image of this Dockerfile is available from GHCR [here](https://github.com/ChrisLovering/psql_pg_cron/pkgs/container/psql_pg_cron).
+
+Once deployed, you can add the pg_cron extension to the database of choice by connecting to the DB and running
+
+```sql
+CREATE EXTENSION pg_cron
+```