aboutsummaryrefslogtreecommitdiff
path: root/Docker/Dockerfile
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-10-26 11:19:42 +0200
committerGravatar GitHub <noreply@github.com> 2019-10-26 11:19:42 +0200
commit3c49986ec895595edc632da0f14419199ce47667 (patch)
treeba22912ac6dd788df389c00b43252e26ce244686 /Docker/Dockerfile
parent623769b5aeb19e0d0b1684d61fce429961e29116 (diff)
New environment variable COPY_LOG_TO_SYSLOG (#2591)
* New environment variable COPY_LOG_TO_SYSLOG False by default. Makes it easy to monitor all logs from Syslog or STDERR (e.g. docker logs). * Suggestion of native constants
Diffstat (limited to 'Docker/Dockerfile')
-rw-r--r--Docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Docker/Dockerfile b/Docker/Dockerfile
index 19923bcf1..6dbebccb0 100644
--- a/Docker/Dockerfile
+++ b/Docker/Dockerfile
@@ -43,10 +43,11 @@ RUN a2dismod -f alias autoindex negotiation status && \
RUN sed -r -i "/^\s*(CustomLog|ErrorLog|Listen) /s/^/#/" /etc/apache2/apache2.conf && \
sed -r -i "/^\s*Listen /s/^/#/" /etc/apache2/ports.conf && \
touch /var/www/FreshRSS/Docker/env.txt && \
- echo "17,47 * * * * . /var/www/FreshRSS/Docker/env.txt; \
+ echo "7,37 * * * * . /var/www/FreshRSS/Docker/env.txt; \
su www-data -s /bin/sh -c 'php /var/www/FreshRSS/app/actualize_script.php' \
2>> /proc/1/fd/2 > /tmp/FreshRSS.log" | crontab -
+ENV COPY_LOG_TO_SYSLOG On
ENV COPY_SYSLOG_TO_STDERR On
ENV CRON_MIN ''
ENV FRESHRSS_ENV ''