Utilities, checked 2026-09-07

ntfy: Docker configuration reference

Self-hosted pub-sub push notification service, driven by a simple HTTP API and topic subscriptions.

At a glance

Ports

Ports
PortWhat listensSource
80Default HTTP listener, set with listen-http or the NTFY_LISTEN_HTTP environment variable.source for port 80

Environment variables

Environment variables
VariableRequiredWhat it doesExampleSource
NTFY_BASE_URLYesPublic URL of the server. Required for attachments, email sending and iOS push, since it is used to build download and callback URLs.https://ntfy.example.comsource for NTFY_BASE_URL
NTFY_BEHIND_PROXYNoTells ntfy to trust proxy headers for the visitor's real IP address, used for rate limiting.truesource for NTFY_BEHIND_PROXY
NTFY_CACHE_FILENoSQLite file used to cache messages so subscribers can retrieve ones sent while they were offline./var/cache/ntfy/cache.dbsource for NTFY_CACHE_FILE
NTFY_AUTH_DEFAULT_ACCESSNoDefault access policy applied to a topic with no explicit ACL entry. A private server should set this to deny-all rather than the open default.deny-allsource for NTFY_AUTH_DEFAULT_ACCESS

Volumes that must persist

Volumes
PathWhat is in itSource
/var/cache/ntfyMessage cache and attachment storage, set by NTFY_CACHE_FILE and NTFY_ATTACHMENT_CACHE_DIR.source for /var/cache/ntfy
/etc/ntfyServer config file, user database and access control list when NTFY_AUTH_FILE is used.source for /etc/ntfy

Behind a reverse proxy

Release timeline

Releases
VersionDateBreakingWhat changedSource
v2.28.02026-08-27NoHardening release bounding the cost of repeated poll requests without a since cursor and closing two unbounded fields.source for release v2.28.0
v2.27.02026-08-04NoAdds signing in with a verified email address instead of username, and hardens the message templating engine against memory exhaustion.source for release v2.27.0
v2.26.02026-07-09NoHardens message templates with a hard execution timeout, closing a denial-of-service hole.source for release v2.26.0
v2.25.02026-06-24NoAdds password reset via email and reworks email verification to use durable link-based magic links.source for release v2.25.0
v2.24.02026-06-04NoAdds an in-memory ACL cache to reduce read load on the database from topic authorization checks.source for release v2.24.0

If it is not coming up

Read from the upstream documentation, repository and container registry by Keita Emsden on 2026-09-07. Every row links the page it came from. Upstream changes without telling anyone, so check the source link before you rely on a value.

Other app references

All app references