various updates
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# NTFY
|
||||
|
||||
## Running ntfy
|
||||
|
||||
```bash
|
||||
podman run \
|
||||
-v ntfy:/var/cache/ntfy \
|
||||
-v ./active/container_ntfy/server.yml:/etc/ntfy/server.yml:z \
|
||||
-p 8001:80 \
|
||||
-it \
|
||||
docker.io/binwiederhier/ntfy:latest \
|
||||
serve \
|
||||
--cache-file /var/cache/ntfy/cache.db
|
||||
```
|
||||
|
||||
## Testing with Curl
|
||||
|
||||
```bash
|
||||
# Publish a topic
|
||||
curl -d "Backup successful" localhost:8001/mytopic
|
||||
|
||||
# Listen on a topic
|
||||
curl -s localhost:8001/mytopic
|
||||
```
|
||||
Reference in New Issue
Block a user