ntfy Docker & Self-Hosted Deployment

GitHub

Send push notifications to your phone or desktop using PUT/POST

33,423 stars Go Go 1 file ยท ~53,008 tokens #curl#notifications#ntfy#ntfysh#pubsub#push-notifications#rest-api
RAW Compose
1. Pull Image (DOCKERHUB) docker pull binwiederhier/ntfy
2. Docker Run (1-Click Launch) docker run -d --name ntfy -p 80:80 --restart always binwiederhier/ntfy
3. Podman Run podman run -d --name ntfy -p 80:80 --restart always binwiederhier/ntfy
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/binwiederhier/ntfy:latest
5. ORAS Pull (OCI Artifact) oras pull binwiederhier/ntfy
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
services:
  ntfy:
    image: binwiederhier/ntfy
    container_name: ntfy
    command:
      - serve
    environment:
      - TZ=UTC    # optional: Change to your desired timezone
    user: UID:GID # optional: Set custom user/group or uid/gid
    volumes:
      - /var/cache/ntfy:/var/cache/ntfy
      - /etc/ntfy:/etc/ntfy
    ports:
      - 80:80
    restart: unless-stopped