Hulpprogramma's

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. It runs as root (0:0) to manage file permissions on mounted volumes.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Geen Lock-in)
RAM Profiel: Laag
Standaard Poort: Port 8077

Waarom deze configuratie?

Snelle Start (Standalone Docker Compose)

Onderstaand compose-fragment is direct te gebruiken in elke Docker- of Podman-omgeving:

services:
  ntfy:
    image: "binwiederhier/ntfy:latest"
    container_name: njorddeploy-ntfy
    command:
      - serve
    environment:
      - "TZ=UTC"
      - "NTFY_BASE_URL=http://localhost:8077"
      - "NTFY_CACHE_FILE=/var/cache/ntfy/cache.db"
      - "NTFY_ATTACHMENT_CACHE_DIR=/var/cache/ntfy/attachments"
    user: "0:0"
    volumes:
      - "./data/ntfy/cache:/var/cache/ntfy"
      - "data_root/ntfy/server.yml:/etc/ntfy/server.yml:ro"
    ports:
      - "8077:80"
    restart: unless-stopped
    networks:
      - njorddeploy_net

networks:
  njorddeploy_net:

Start de service direct via de commandline: docker compose up -d

Configuratie & Omgevingsvariabelen

Belangrijkste configuratieparameters en standaardwaarden uit de NjordDeploy component-sjabloon:

Variable Default Value Description
NTFY_WEB_PORT 8077 The host port for the ntfy web interface and API.
TZ UTC Set the container timezone (e.g., Europe/London, America/New_York).
NTFY_BASE_URL http://localhost:8077 The base URL for ntfy, used for generating links in notifications. Change 'localhost' to your server's IP address or domain name, and '8077' to the actual host port if different.
NTFY_CACHE_FILE /var/cache/ntfy/cache.db Path to the ntfy cache database file within the container. This should typically point inside the mounted cache volume.
NTFY_ATTACHMENT_CACHE_DIR /var/cache/ntfy/attachments Path to the directory for storing attachment caches within the container. This should typically point inside the mounted cache volume.

Ecosysteem & Bedrijfsintegratie

Eenvoudig beheren via NjordDeploy

Installeer, bewaak en update deze service met 1 klik op uw eigen Raspberry Pi of Proxmox server via de NjordDeploy Configurator.