Update Dockerfile
add varnish
This commit is contained in:
parent
c021a3fb02
commit
2cbc080b0f
@ -158,7 +158,14 @@ RUN mkdir /var/lib/mod_tile \
|
|||||||
COPY apache.conf /etc/apache2/sites-available/000-default.conf
|
COPY apache.conf /etc/apache2/sites-available/000-default.conf
|
||||||
COPY leaflet-demo.html /var/www/html/index.html
|
COPY leaflet-demo.html /var/www/html/index.html
|
||||||
RUN ln -sf /dev/stdout /var/log/apache2/access.log \
|
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
|
# Configure PosgtreSQL
|
||||||
COPY postgresql.custom.conf.tmpl /etc/postgresql/13/main/
|
COPY postgresql.custom.conf.tmpl /etc/postgresql/13/main/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user