Skip to content

Commit

Permalink
feat: map logs to standard output to support docker logs
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jul 3, 2024
1 parent f958d14 commit c0339d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 /
Expand All @@ -11,4 +9,4 @@ RUN chmod +x /postinstall.sh

EXPOSE 8000

ENTRYPOINT ["/postinstall.sh", "ntfy", "serve"]
ENTRYPOINT ["/postinstall.sh", "ntfy", "serve"]
2 changes: 1 addition & 1 deletion server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

0 comments on commit c0339d7

Please sign in to comment.