Access
- Open the Gotify web interface:
http://<SERVER-IP> - The admin credentials are stored in:
/root/gotify/.env - Change the admin password from the web UI after the first login.
Sending Messages
Create an Application
- Open the Gotify web interface.
- Create an Application.
- Copy the generated application token.
Send a Message
curl -X POST 'http://<SERVER-IP>/message?token=<APP_TOKEN>' \
-F 'title=Hello' \
-F 'message=world' \
-F 'priority=5'
Clients can subscribe to live notifications through: /stream
Important Files & Directories
- Install Path:
/root/gotify - Compose File:
/root/gotify/docker-compose.yml - Environment File:
/root/gotify/.env - Docker Data Volume:
/var/lib/docker/volumes/gotify_gotify_data
Docker Management
View status:
cd /root/gotify
docker compose ps
View logs:
cd /root/gotify
docker compose logs -f
Restart Gotify:
cd /root/gotify
docker compose restart
Stop Gotify:
cd /root/gotify
docker compose down
Start Gotify:
cd /root/gotify
docker compose up -d