Installing Gotify with iGotify for iOS
Gotify is a self-hosted notification server that lets you send messages to devices and apps via a simple API. It’s great for server alerts, home automation, and custom scripts because you control delivery and history.
iGotify is the bridge that makes Gotify work with iOS push notifications. It listens to Gotify, translates messages, and forwards them to the SecNtfy app on your iPhone so you get real push alerts (iOS can’t poll in the background, so the bridge is required).
PrerequisitesDockerOnce app is installed Set gotify and compose:igotify Installeddomain in Nginx Reverse Proxy and upPangolin for domain with ssl login
Install Gotify
Networkwhere access:gotify Yourapp iPhonewill canlive reachor youruse server on your LAN (for initial setup).
DomainKomodo and SSLcreate (optional):Stack
Step-by-step setupPrepare the compose file
Create file:
Set password:
Run: docker compose up -d.
Verify: docker ps shows both containers up.
Create a Gotify client token
Create client:Tokens Settingsfor →iOS app
iGotify iOS App Setup
Point
Local: GOTIFY_URLS: "http://gotify:80" (same Docker network).
Domain: GOTIFY_URLS: "https://your-gotify-domain".
Bootstrap with local instance (iOS app)
Install app: SecNtfy on your iPhone.
Update compose: Under igotify → environment add:
SECNTFY_TOKENS: "NTFY-DEVICE-XXXXXX"
Optional: 'ENABLE_CONSOLE_LOG': 'true', 'ENABLE_SCALAR_UI': 'true' (booleans in single quotes).
Apply changes: docker compose up -d.
Switch to domain (optional, for remote)
Reverse proxy: Create a host for Gotify (e.g., gotify.yourdomain) and for iGotify (e.g., igotify.yourdomain) forwarding to the containers.
Enablefile
Test notifications
Send test: In Gotify, create an applicationhttps and sendpoint ait messageto (ordomain
Verify: Notification appears on your iPhone via SecNtfy.
Adding multiple devices
Multiple tokens:tokens
Add each device’s SecNtfy token separated by semicolons.
Example:
Env
Enviroment:
values:
SECNTFY_TOKENS: "NTFY-DEVICE-AAA;NTFY-DEVICE-BBB"
GOTIFY_CLIENT_TOKENS: "cXXXX1;cXXXX2" (if using multiple Gotify clients)
GOTIFY_URLS: "https://gotify1;https://gotify2" (if using multiple Gotify servers)