Skip to content

Commit

Permalink
feat: enabled web push
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jun 15, 2024
1 parent dd711be commit be3fd95
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.github/
.env.example
.gitignore
LICENSE
README.md
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NTFY_WEB_PUSH_PRIVATE_KEY=
NTFY_WEB_PUSH_PUBLIC_KEY=
NTFY_WEB_PUSH_EMAIL_ADDRESS=
NTFY_WEB_PUSH_FILE=
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:
dockerfile: Dockerfile
environment:
- TZ=IST
env_file:
- .env
networks:
metaploy-network:
aliases:
Expand Down
4 changes: 3 additions & 1 deletion server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,12 @@ attachment-expiry-duration: "72h"
# - web-push-email-address is the admin email address send to the push provider, e.g. `[email protected]`
# - web-push-startup-queries is an optional list of queries to run on startup`
#
########### Web Push is ENABLED ############
# web-push-public-key:
# web-push-private-key:
# web-push-file:
# web-push-email-address:
# web-push-file:
#### enabled via environment variables #####
# web-push-startup-queries:

# If enabled, ntfy can perform voice calls via Twilio via the "X-Call" header.
Expand Down

0 comments on commit be3fd95

Please sign in to comment.