Self-host Gotify
A self-hosted server for push notifications with a web UI, per-app tokens, and an Android client. Point your apps and scripts at it and get instant alerts you fully control — no third-party push service in the middle.
Key facts
Pick Gotify when you want a private push server for your own scripts and services and everyone who needs to receive is on Android or a browser: messages go in over a REST API, out over WebSocket, and the MIT-licensed server, web UI, CLI and Android app are all first-party. One container with SQLite in `/app/data` is the whole install. If iPhone users have to receive, ntfy is the better fit — Gotify's official clients do not include an iOS app.
What you need
- Any VPS with at least 256 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- Under an hour if you've used Docker before
Paid link — we earn a commission if you shop through it.
Install with Docker Compose
Save this as compose.yml and run docker compose up -d:
# Gotify — single container, SQLite by default
services:
gotify:
image: gotify/server
ports: ["80:80"]
environment: { GOTIFY_DEFAULTUSER_PASS: changeme }
volumes: ["./data:/app/data"]
# docker compose up -d → http://SERVER_IP (admin / changeme)
# create an app in the UI to get a push tokenWhat you take on
Gotify is tiny and stable, but the 3.x line changed some contracts and iOS is not covered: