freeleaps-ops/freeleaps
zhenyus 0c6aa8d17f Add Dockerfile and repmgr script for PostgreSQL replication management
- Created a new Dockerfile for PostgreSQL using the Bitnami repmgr image.
- Added a comprehensive `librepmgr.sh` script to manage PostgreSQL replication, including functions for node identification, password management, configuration validation, and primary/standby node operations.
- Implemented environment variable validations and PostgreSQL configuration injections for replication settings.
- Included functions for creating the repmgr user and database, as well as handling node registration and failover processes.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-09 16:15:23 +08:00
..
alpha/ci ci: update execute mode to 'on-demand' in Jenkinsfiles and change MongoDB URIs to use SRV format 2025-03-31 13:51:04 +08:00
helm-pkg Add Dockerfile and repmgr script for PostgreSQL replication management 2025-04-09 16:15:23 +08:00
prod/ci feat: change Jenkins pipeline execution mode to on-demand 2025-03-07 07:30:39 +08:00
k8s setup readme.md add k8s setup readme 2025-02-17 20:46:09 -08:00
README.md chore(git): code staging 2025-02-20 17:28:45 +08:00