Self-host Gotify
updated Jul 2026deployed & timed by usprices checked · Aug 2026Install verified on Ubuntu 26.04 · Aug 2026 · how we test
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
CategoryPush notifications
LicenseMIT
StackGo
Min RAM256 MB
Dockeryes
Difficulty
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
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 tokenHead-to-head
More self-hosted tools
Push notifications
ntfy
Go
easyRead guide →
Network-wide ad blocking
AdGuard Home
Go
easyRead guide →
Photo backup & gallery
PhotoPrism
GoJavaScript
easyRead guide →
Observability
Prometheus
Go
easyRead guide →