From c0339d72fcbccd221fb1f4d3b46458120768c2ea Mon Sep 17 00:00:00 2001 From: proffapt Date: Thu, 4 Jul 2024 00:57:35 +0530 Subject: [PATCH] feat: map logs to standard output to support docker logs --- Dockerfile | 4 +--- server.yml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 10b0a27..4aae97c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM metakgporg/naarad-ntfy -RUN apk --no-cache add jq - # Copy metaploy configuration COPY metaploy/naarad.metaploy.conf / COPY metaploy/postinstall.sh / @@ -11,4 +9,4 @@ RUN chmod +x /postinstall.sh EXPOSE 8000 -ENTRYPOINT ["/postinstall.sh", "ntfy", "serve"] \ No newline at end of file +ENTRYPOINT ["/postinstall.sh", "ntfy", "serve"] diff --git a/server.yml b/server.yml index 339fccd..a809573 100644 --- a/server.yml +++ b/server.yml @@ -375,5 +375,5 @@ visitor-attachment-daily-bandwidth-limit: "50M" # log-level: debug log-format: json -log-file: /var/log/ntfy.log +log-file: /dev/stdout # log-level-overrides: