diff --git a/.config/zz-docker.config.php b/.config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/.config/zz-docker.config.php +++ b/.config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/2024.12/apache/Dockerfile b/2024.12/apache/Dockerfile index b10c55a..182246d 100644 --- a/2024.12/apache/Dockerfile +++ b/2024.12/apache/Dockerfile @@ -169,6 +169,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/2024.12/apache/config/zz-docker.config.php b/2024.12/apache/config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/2024.12/apache/config/zz-docker.config.php +++ b/2024.12/apache/config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/2024.12/fpm-alpine/Dockerfile b/2024.12/fpm-alpine/Dockerfile index 6ae02e3..ab72866 100644 --- a/2024.12/fpm-alpine/Dockerfile +++ b/2024.12/fpm-alpine/Dockerfile @@ -139,6 +139,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/2024.12/fpm-alpine/config/zz-docker.config.php b/2024.12/fpm-alpine/config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/2024.12/fpm-alpine/config/zz-docker.config.php +++ b/2024.12/fpm-alpine/config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/2024.12/fpm/Dockerfile b/2024.12/fpm/Dockerfile index cf2e8df..672414b 100644 --- a/2024.12/fpm/Dockerfile +++ b/2024.12/fpm/Dockerfile @@ -161,6 +161,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/2024.12/fpm/config/zz-docker.config.php b/2024.12/fpm/config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/2024.12/fpm/config/zz-docker.config.php +++ b/2024.12/fpm/config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/2026.01/apache/Dockerfile b/2026.01/apache/Dockerfile index 61f0fe7..1f289a6 100644 --- a/2026.01/apache/Dockerfile +++ b/2026.01/apache/Dockerfile @@ -169,6 +169,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/2026.01/apache/config/zz-docker.config.php b/2026.01/apache/config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/2026.01/apache/config/zz-docker.config.php +++ b/2026.01/apache/config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/2026.01/fpm-alpine/Dockerfile b/2026.01/fpm-alpine/Dockerfile index 41188ac..a243f79 100644 --- a/2026.01/fpm-alpine/Dockerfile +++ b/2026.01/fpm-alpine/Dockerfile @@ -139,6 +139,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/2026.01/fpm-alpine/config/zz-docker.config.php b/2026.01/fpm-alpine/config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/2026.01/fpm-alpine/config/zz-docker.config.php +++ b/2026.01/fpm-alpine/config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/2026.01/fpm/Dockerfile b/2026.01/fpm/Dockerfile index 105068e..ef1e58d 100644 --- a/2026.01/fpm/Dockerfile +++ b/2026.01/fpm/Dockerfile @@ -161,6 +161,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/2026.01/fpm/config/zz-docker.config.php b/2026.01/fpm/config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/2026.01/fpm/config/zz-docker.config.php +++ b/2026.01/fpm/config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/2026.04-dev/apache/Dockerfile b/2026.04-dev/apache/Dockerfile index d95ef67..ef88055 100644 --- a/2026.04-dev/apache/Dockerfile +++ b/2026.04-dev/apache/Dockerfile @@ -169,6 +169,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/2026.04-dev/apache/config/zz-docker.config.php b/2026.04-dev/apache/config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/2026.04-dev/apache/config/zz-docker.config.php +++ b/2026.04-dev/apache/config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/2026.04-dev/fpm-alpine/Dockerfile b/2026.04-dev/fpm-alpine/Dockerfile index fa60e58..0c084e0 100644 --- a/2026.04-dev/fpm-alpine/Dockerfile +++ b/2026.04-dev/fpm-alpine/Dockerfile @@ -139,6 +139,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/2026.04-dev/fpm-alpine/config/zz-docker.config.php b/2026.04-dev/fpm-alpine/config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/2026.04-dev/fpm-alpine/config/zz-docker.config.php +++ b/2026.04-dev/fpm-alpine/config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/2026.04-dev/fpm/Dockerfile b/2026.04-dev/fpm/Dockerfile index f7c22f2..b495973 100644 --- a/2026.04-dev/fpm/Dockerfile +++ b/2026.04-dev/fpm/Dockerfile @@ -161,6 +161,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/2026.04-dev/fpm/config/zz-docker.config.php b/2026.04-dev/fpm/config/zz-docker.config.php index 7a0d798..08b29dc 100644 --- a/2026.04-dev/fpm/config/zz-docker.config.php +++ b/2026.04-dev/fpm/config/zz-docker.config.php @@ -12,7 +12,7 @@ // Necessary because otherwise the daemon isn't working 'pidfile' => '/var/run/friendica.pid', - 'logfile' => '/var/www/html/friendica.log', + 'logfile' => '/var/log/friendica.log', 'loglevel' => 'notice', ], 'storage' => [ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 10723cf..7502063 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -137,6 +137,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 7b35be6..f36610d 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -159,6 +159,9 @@ RUN set -ex; \ mkdir -p -m 775 /var/www/data; \ chown -R www-data:www-data /var/www/data +RUN set -ex; \ + ln -sf /dev/stdout /var/log/friendica.log + VOLUME /var/www/html VOLUME /var/www/data