generated from pandora/image-copy.template
Sync of ntfy.sh image.
|
All checks were successful
ci/woodpecker/push/move_staging Pipeline was successful
ci/woodpecker/cron/vulnerability Pipeline was successful
ci/woodpecker/cron/move_prod Pipeline was successful
ci/woodpecker/cron/auto_merge Pipeline was successful
ci/woodpecker/cron/renovate Pipeline was successful
Merged automatically |
||
|---|---|---|
| .markdownlint.json | ||
| .prettierrc | ||
| images.ini | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
Image copy of ntfy.sh
ntfy (pronounce: notify) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, entirely without signup or cost. It's also open source (as you can plainly see) if you want to run your own.
Links:
Example to use image
To run a private non-root instance, by Podman Quadlet:
[Unit]
Description=ntfy.sh service
StartLimitBurst=5
StartLimitIntervalSec=90
[Container]
# Base options
AutoUpdate=registry
Exec=serve
Image=code.thinkaboutit.tech/pandora/ntfy:latest
# Storage options
Volume=ntfy-cache.volume:/var/cache/ntfy
Volume=ntfy-config.volume:/etc/ntfy
Volume=ntfy-user.volume:/var/lib/ntfy
# Network options
PublishPort=8080:8080
# Environment options
Environment="NTFY_AUTH_DEFAULT_ACCESS=deny-all"
Environment="NTFY_AUTH_FILE=/var/lib/ntfy/user.db"
# Other options
UserNS=keep-id
[Service]
Restart=on-failure
RestartSec=2
[Install]
WantedBy=default.target
On the config volume a server.yaml file must override port 80, to be able to
run as non-root.
listen-http: ":8080"
# In case of iOS app, this is also need
base-url: https://example.com
upstream-base-url: "https://ntfy.sh"