We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b305a5 commit 5bc6275Copy full SHA for 5bc6275
9.4/Dockerfile
@@ -49,7 +49,11 @@ RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
49
50
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
51
ENV PGDATA /var/lib/postgresql/data
52
-VOLUME /var/lib/postgresql/data
+
53
+# Keep Postgres log, config and storage outside of union filesystem
54
+VOLUME ["/var/lib/postgresql/data", \
55
+ "/etc/postgresql/9.4/main", \
56
+ "/var/log/postgresql"]
57
58
COPY docker-entrypoint.sh /
59
0 commit comments