Fix for wrong ownership of postgres data

This commit is contained in:
Grzegorz Adam Kowalski 2019-03-15 18:33:40 +01:00
parent 1681d33635
commit ad366e7c87

View File

@ -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 \ RUN ln -sf /proc/1/fd/1 /var/log/apache2/access.log \
&& ln -sf /proc/1/fd/2 /var/log/apache2/error.log && ln -sf /proc/1/fd/2 /var/log/apache2/error.log
# Configure PosgtreSQL
RUN chown -R postgres:postgres /var/lib/postgresql
# Start running # Start running
COPY run.sh / COPY run.sh /
ENTRYPOINT ["/run.sh"] ENTRYPOINT ["/run.sh"]