Skip to content

Commit

Permalink
Add bitnami pg ha
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Oct 13, 2023
1 parent b32d237 commit e46f52f
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
package: [bitnami/postgresql, postgres/postgres]
package: [bitnami/postgresql,bitnami/postgresql-ha, postgres/postgres]
tag: [12, 13, 14, 15, 16]
timeout-minutes: 10
steps:
Expand Down
5 changes: 5 additions & 0 deletions bitnami/postgresql-ha/12/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM bitnami/postgresql-repmgr:12

# Health check and non-privileged user
HEALTHCHECK --interval=15s --timeout=5s --retries=3 CMD [ "pg_isready" ]
USER postgres
5 changes: 5 additions & 0 deletions bitnami/postgresql-ha/13/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM bitnami/postgresql-repmgr:13

# Health check and non-privileged user
HEALTHCHECK --interval=15s --timeout=5s --retries=3 CMD [ "pg_isready" ]
USER postgres
5 changes: 5 additions & 0 deletions bitnami/postgresql-ha/14/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM bitnami/postgresql-repmgr:14

# Health check and non-privileged user
HEALTHCHECK --interval=15s --timeout=5s --retries=3 CMD [ "pg_isready" ]
USER postgres
5 changes: 5 additions & 0 deletions bitnami/postgresql-ha/15/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM bitnami/postgresql-repmgr:15

# Health check and non-privileged user
HEALTHCHECK --interval=15s --timeout=5s --retries=3 CMD [ "pg_isready" ]
USER postgres

0 comments on commit e46f52f

Please sign in to comment.