Skip to content

Commit c0339d7

Browse files
committed
feat: map logs to standard output to support docker logs
1 parent f958d14 commit c0339d7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
FROM metakgporg/naarad-ntfy
22

3-
RUN apk --no-cache add jq
4-
53
# Copy metaploy configuration
64
COPY metaploy/naarad.metaploy.conf /
75
COPY metaploy/postinstall.sh /
@@ -11,4 +9,4 @@ RUN chmod +x /postinstall.sh
119

1210
EXPOSE 8000
1311

14-
ENTRYPOINT ["/postinstall.sh", "ntfy", "serve"]
12+
ENTRYPOINT ["/postinstall.sh", "ntfy", "serve"]

server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,5 +375,5 @@ visitor-attachment-daily-bandwidth-limit: "50M"
375375
#
376376
log-level: debug
377377
log-format: json
378-
log-file: /var/log/ntfy.log
378+
log-file: /dev/stdout
379379
# log-level-overrides:

0 commit comments

Comments
 (0)