Skip to content

Commit

Permalink
feat: mount server.yml not copy
Browse files Browse the repository at this point in the history
proffapt committed Jun 30, 2024
1 parent 9395272 commit 48f37a8
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
FROM binwiederhier/ntfy

COPY server.yml /etc/ntfy/server.yml

EXPOSE 8000

# Copy metaploy configuration
COPY metaploy/naarad.metaploy.conf /
COPY metaploy/postinstall.sh /

# Set the postinstall script as executable
RUN chmod +x /postinstall.sh

EXPOSE 8000

ENTRYPOINT ["/postinstall.sh", "ntfy", "serve"]
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ services:
- nginx-config-volume:/etc/nginx/sites-enabled
- naarad-cache:/var/cache/ntfy
- naarad-auth:/var/lib/ntfy
- ./server.yml:/etc/ntfy/server.yml
healthcheck:
test:
[

0 comments on commit 48f37a8

Please sign in to comment.