Fix for wrong ownership of postgres data

master
Grzegorz Adam Kowalski 2019-03-15 18:33:40 +01:00
parent 1681d33635
commit ad366e7c87
1 changed files with 3 additions and 0 deletions

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 \
&& 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"]