From efc2cb1e2a7c44e137f0e2ac5b2aad63a3608083 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquenot Date: Sat, 21 Dec 2019 22:34:30 +0100 Subject: [PATCH] :hammer: Refactored PosgtreSQL install --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 739b488..079a9a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -158,9 +158,9 @@ RUN ln -sf /dev/stdout /var/log/apache2/access.log \ # Configure PosgtreSQL COPY postgresql.custom.conf.tmpl /etc/postgresql/12/main/ RUN chown -R postgres:postgres /var/lib/postgresql \ - && chown postgres:postgres /etc/postgresql/12/main/postgresql.custom.conf.tmpl -RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/12/main/pg_hba.conf \ - && echo "host all all ::/0 md5" >> /etc/postgresql/12/main/pg_hba.conf + && chown postgres:postgres /etc/postgresql/12/main/postgresql.custom.conf.tmpl \ + && echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/12/main/pg_hba.conf \ + && echo "host all all ::/0 md5" >> /etc/postgresql/12/main/pg_hba.conf # copy update scripts COPY openstreetmap-tiles-update-expire /usr/bin/