1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-08-15 12:42:33 +03:00

Add docker-compose and replication environment tests to the smoke-tests.

Use docker-compose and p2 to setup a replicated environment for each
version of PostgreSQL we want to support.

Still missing: key-specific tests to ensure each version doesn't lose
metrics.
This commit is contained in:
Will Rouesnel
2016-11-17 02:00:42 +11:00
parent f554139279
commit 53ad0efbbb
3 changed files with 26 additions and 15 deletions

View File

@@ -0,0 +1,7 @@
FROM postgres:9.6
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