grim/containers/apache2-trac

185238c6fd61
Parents 33986cb60ce3
Children 5b7880d1710a
Add some additional configuration to make sure we don't log to disk
--- a/Dockerfile Mon May 03 00:08:16 2021 -0500
+++ b/Dockerfile Mon May 03 02:37:45 2021 -0500
@@ -15,8 +15,13 @@
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
STOPSIGNAL SIGWINCH
+COPY conf-available/* /etc/apache2/conf-available/
COPY apache2-foreground /usr/local/bin/
+RUN set -ex && \
+ a2disconf other-vhosts-access-log && \
+ a2enconf logging
+
EXPOSE 80
CMD ["apache2-foreground"]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/conf-available/logging.conf Mon May 03 02:37:45 2021 -0500
@@ -0,0 +1,3 @@
+ErrorLog /dev/stderr
+TransferLog /dev/stderr
+