From ad366e7c87b96a9fd1fca74eb46a6c8c4899a5e2 Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Kowalski Date: Fri, 15 Mar 2019 18:33:40 +0100 Subject: [PATCH] Fix for wrong ownership of postgres data --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0d385b4..d0c18ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -133,6 +133,9 @@ COPY leaflet-demo.html /var/www/html/index.html RUN ln -sf /proc/1/fd/1 /var/log/apache2/access.log \ && ln -sf /proc/1/fd/2 /var/log/apache2/error.log +# Configure PosgtreSQL +RUN chown -R postgres:postgres /var/lib/postgresql + # Start running COPY run.sh / ENTRYPOINT ["/run.sh"]