Ntfy

Ntfy

Aplicación Docker from kostecki's Repository

Visión general

ntfy (pronounce: notify) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, entirely without signup, cost or setup. It's also open source if you want to run your own. Publishing a message to a topic is as simple as: curl -d "Backup successful 😀" ntfy.sh/mytopic By default, the ntfy server is open for everyone, meaning everyone can read and write to any topic (this is how ntfy.sh is configured). To restrict access to your own server, you can optionally configure authentication and authorization using NTFY_AUTH_FILE and NTFY_AUTH_DEFAULT_ACCESS. After that, simply create an admin user: ntfy user add --role=admin phil password: mypass confirm: mypass user phil added with role admin Once you've done that, you can publish and subscribe using Basic Auth with the given username/password.

Argumentos en tiempo de ejecución

Interfaz web
http://[IP]:[PORT:80]/
Red
bridge
Concha
sh
Privilegiado
false
Parámetros adicionales
--restart unless-stopped

Configuración de plantillas

Host Port 1Porttcp
Objetivo
80
Valor
8080
NTFY_BASE_URLVariable
Valor
https://ntfy.israndom.win
NTFY_WEB_ROOTVariable

Sets web root to landing page (home), web app (app) or disables the web app entirely (disable).

Por defecto
app
Valor
app
NTFY_UPSTREAM_BASE_URLVariable

Forward poll request to an upstream server, this is needed for iOS push notifications for self-hosted servers.

Por defecto
https://ntfy.sh
Valor
https://ntfy.sh
NTFY_CACHE_FILEVariable

If set, messages are cached in a local SQLite database instead of only in-memory. This allows for service restarts without losing messages in support of the since= parameter.

Por defecto
/config/cache.db
Valor
/config/cache.db
NTFY_CACHE_DURATIONVariable

Duration for which messages will be buffered before they are deleted (e.g. 30s, 20m, 20h). This is required to support the since=... and poll=1 parameter. Set this to 0 to disable the cache entirely.

Por defecto
12h
Valor
12h
NTFY_AUTH_FILEVariable

Auth database file used for access control. If set, enables authentication and access control.

Por defecto
/config/user.db
Valor
/config/user.db
NTFY_AUTH_DEFAULT_ACCESSVariable

Default permissions if no matching entries in the auth database are found. Default is read-write.

Por defecto
read-write
Valor
deny-all
NTFY_ATTACHMENT_CACHE_DIRVariable

Cache directory for attached files. To enable attachments, this has to be set. NOTE: If NTFY_ATTACHMENT_CACHE_DIR is set then NFTY_BASE_URL is also required.

Por defecto
/config/attachments
Valor
/config/attachments
NTFY_ATTACHMENT_TOTAL_SIZE_LIMITVariable

Limit of the on-disk attachment cache directory (e.g. 300k, 2M, 100M). If the limits is exceeded, new attachments will be rejected.

Por defecto
5G
Valor
5G
NTFY_ATTACHMENT_FILE_SIZE_LIMITVariable

Per-file attachment size limit (e.g. 300k, 2M, 100M). Larger attachment will be rejected.

Por defecto
15M
Valor
15M
NTFY_ATTACHMENT_EXPIRY_DURATIONVariable

Duration after which uploaded attachments will be deleted (e.g. 30s, 20m, 20h).

Por defecto
3h
Valor
3h
NTFY_SMTP_SENDER_ADDRVariable

SMTP server address to allow email sending.

NTFY_SMTP_SENDER_USERVariable

SMTP user; only used if e-mail sending is enabled.

NTFY_SMTP_SENDER_PASSVariable

SMTP password; only used if e-mail sending is enabled.

NTFY_SMTP_SENDER_FROMVariable

SMTP sender e-mail address; only used if e-mail sending is enabled.

NTFY_SMTP_SERVER_ADDR_PREFIXVariable

Optional prefix for the e-mail addresses to prevent spam, e.g. ntfy-.

NTFY_LOG_LEVELVariable

Set log level. Options: INFO, WARN, ERROR, DEBUG or TRACE

Por defecto
info
Valor
info
AppdataPathrw
Objetivo
/config
Por defecto
/mnt/user/appdata/ntfy
Valor
/mnt/user/appdata/ntfy

Descargar estadísticas

15,386,780
Descargas totales
1,018,589
Este mes
721,889
Media / Mes

Descargas totales a lo largo del tiempo

Cargando gráfico...

Detalles

Repositorio
binwiederhier/ntfy
Última actualización2026-04-21
Visto por primera vez2022-11-13

Ejecute Ntfy en Unraid.

Ntfy se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.