From b32d237f23dac7b7555128e208270be2730b7a79 Mon Sep 17 00:00:00 2001 From: OMPRAKASH MISHRA Date: Fri, 13 Oct 2023 09:33:21 -0700 Subject: [PATCH] Add bitnami pg ha --- bitnami/postgresql-ha/16/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bitnami/postgresql-ha/16/Dockerfile diff --git a/bitnami/postgresql-ha/16/Dockerfile b/bitnami/postgresql-ha/16/Dockerfile new file mode 100644 index 00000000..278dff5a --- /dev/null +++ b/bitnami/postgresql-ha/16/Dockerfile @@ -0,0 +1,5 @@ +FROM bitnami/postgresql-repmgr:16.0.0 + +# Health check and non-privileged user +HEALTHCHECK --interval=15s --timeout=5s --retries=3 CMD [ "pg_isready" ] +USER postgres