redirect apache server logs to stdout & stderr

This commit is contained in:
Grzegorz Adam Kowalski 2019-03-15 17:33:07 +01:00
parent 16b85cb9e2
commit 48d257763e
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,8 @@ RUN echo "LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so" >> /etc/a
&& a2enconf mod_tile
COPY apache.conf /etc/apache2/sites-available/000-default.conf
COPY leaflet-demo.html /var/www/html/index.html
RUN ln -sf /proc/1/fd/1 /var/log/apache2/access.log
&& ln -sf /proc/1/fd/2 /var/log/apache2/error.log
# Start running
COPY run.sh /