1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-29 18:21:24 +00:00
dockerfiles/ntfy
2024-05-22 17:14:28 +08:00
..
data/etc add ntfy 2024-05-22 17:14:28 +08:00
docker-compose.yml add ntfy 2024-05-22 17:14:28 +08:00
README.md add ntfy 2024-05-22 17:14:28 +08:00

ntfy

ntfy (pronounced "notify") is a simple HTTP-based pub-sub notification service. With ntfy, you can send notifications to your phone or desktop via scripts from any computer, without having to sign up or pay any fees.

$ mkdir -p data/{etc,log,var}
$ docker compose up -d
$ docker compose exec nify sh
>>> ntfy user add pi
>>> ntfy user add --role=admin kev
>>> ntfy user list
>>> ntfy access pi test rw
>>> ntfy access '*' test ro
>>> ntfy access
>>> ntfy token add --expires=1w --label=pi5 pi
>>> ntfy token add --expires=1y --label=iphone kev
>>> ntfy token list
>>> exit