You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-11-23 23:02:58 +03:00
Add postgres cluster replication smoke tests.
This commit is contained in:
7
tests/docker-postgres-replication/Dockerfile.p2
Normal file
7
tests/docker-postgres-replication/Dockerfile.p2
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM postgres:{{VERSION}}
|
||||
MAINTAINER Daniel Dent (https://www.danieldent.com)
|
||||
ENV PG_MAX_WAL_SENDERS 8
|
||||
ENV PG_WAL_KEEP_SEGMENTS 8
|
||||
COPY setup-replication.sh /docker-entrypoint-initdb.d/
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
RUN chmod +x /docker-entrypoint-initdb.d/setup-replication.sh /docker-entrypoint.sh
|
||||
Reference in New Issue
Block a user