Add postgres cluster replication smoke tests.

This commit is contained in:
Will Rouesnel
2016-11-17 00:58:25 +11:00
parent c00d3fb6e7
commit 8c0f2ed166
7 changed files with 296 additions and 9 deletions

View 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