Fix for wrong ownership of postgres data
This commit is contained in:
parent
1681d33635
commit
ad366e7c87
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user