freeleaps-ops/infra
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
..
ci-essentials feat(ci): update ci-essentials images to version 0.0.4 in pipeline and Dockerfile 2025-03-07 00:38:39 +08:00
posgresql Add Dockerfile and repmgr script for PostgreSQL replication management 2025-04-09 16:15:23 +08:00