etc to vol

This commit is contained in:
Bernhard Radermacher
2026-02-20 15:07:41 +01:00
parent 8b92839e37
commit 13949096ee
2 changed files with 20 additions and 11 deletions

View File

@@ -6,8 +6,9 @@ RUN apt-get update && \
&& \
rm -rf /var/lib/apt/lists/*
COPY --chmod=666 repmgr.conf /etc/repmgr.conf
RUN install --verbose --directory --owner postgres --group postgres --mode 1777 /etc/repmgr
VOLUME /etc/repmgr
COPY --chmod=644 --chown=postgres profile /var/lib/postgresql/.profile
# COPY --chmod=755 postgres.sh /usr/local/bin/postgres
COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/