add option for witness

This commit is contained in:
Bernhard Radermacher
2026-02-20 11:06:41 +01:00
parent 260423fc3a
commit 5824741ef4
3 changed files with 58 additions and 70 deletions

View File

@@ -6,8 +6,7 @@ RUN apt-get update && \
&& \
rm -rf /var/lib/apt/lists/*
RUN touch /etc/repmgr.conf && chmod 666 /etc/repmgr.conf
COPY profile /var/lib/postgresql/.profile
COPY --chmod=666 repmgr.conf /etc/repmgr.conf
COPY --chmod=644 --chown=postgres profile /var/lib/postgresql/.profile
COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/