Setting up Gotify
A single Docker container, up and sending its first notification within a few minutes.
- 1
Run the container
The image ships with an SQLite database by default, no separate database container needed for a personal setup.
services: gotify: image: gotify/server:latest container_name: gotify restart: unless-stopped ports: - "8888:80" volumes: - ./data:/app/data - 2
Log in and change the default password
The first login is admin / admin; change that immediately from the user settings.
- 3
Create an application for each thing that'll send alerts
Under Apps, each service that pushes notifications gets its own entry and its own token (a backup script, an uptime monitor, a door sensor automation), which keeps them distinguishable in the notification feed.
- 4
Install the client
The Gotify Android app connects with the server address and a client token generated from the Clients tab, and receives pushes instantly over a persistent connection.
Further reading
- Gotify documentation
Setup, the plugin system, and the full REST API for sending messages from scripts.
- Gotify on GitHub
Source for the server, plus links to the Android client and CLI.