From 2cbc080b0f082eee7340e1639085c76a02028897 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Wed, 16 Jun 2021 09:46:31 +0200 Subject: [PATCH] Update Dockerfile add varnish --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 03d9abc..c85162c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -158,7 +158,14 @@ RUN mkdir /var/lib/mod_tile \ COPY apache.conf /etc/apache2/sites-available/000-default.conf COPY leaflet-demo.html /var/www/html/index.html RUN ln -sf /dev/stdout /var/log/apache2/access.log \ - && ln -sf /dev/stderr /var/log/apache2/error.log + && ln -sf /dev/stderr /var/log/apache2/error.log \ + && cd /etc/apache2 \ + && sed -i -e 's/80/8080/g' ports.conf \ + && sed -i -e 's/80/8080/g' sites-available/* \ + +# Configure Varnish +RUN systemctl start varnish \ + && systemctl enable varnish # Configure PosgtreSQL COPY postgresql.custom.conf.tmpl /etc/postgresql/13/main/