Update Dockerfile

add varnish
This commit is contained in:
Olivier DEBAUCHE 2021-06-17 09:16:40 +02:00 committed by GitHub
parent b3d57d4250
commit 6a96f3e096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,8 +164,8 @@ RUN ln -sf /dev/stdout /var/log/apache2/access.log \
&& sed -i -e 's/80/8080/g' /etc/apache2/sites-available/*
# Configure Varnish
RUN rm /etc/varnish/devault.vcl
COPY varnish.vcl /etc/varnish/devault.vcl
RUN rm /etc/varnish/default.vcl
COPY default.vcl /etc/varnish/default.vcl
# Configure PosgtreSQL
COPY postgresql.custom.conf.tmpl /etc/postgresql/13/main/