Aller au contenu principal
50 % de réduction toutes les offres, durée limitée. À partir de $2.48/mo
Gotify

Gotify

Gotify est un serveur de notifications push auto-hébergé. Envoyez un message depuis n'importe quel script avec un simple appel curl et recevez-le en WebSocket dans l'interface web ou l'application Android. Plus de 15 700 étoiles GitHub.

En un coup d'œil

Licence MIT Version Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

Accès

  1. Ouvrez l'interface web de Gotify : http://<SERVER-IP>
  2. Les identifiants administrateur sont stockés dans : /root/gotify/.env
  3. Changez le mot de passe administrateur depuis l'interface web après la première connexion.

Envoi de messages

Créer une application

  1. Ouvrez l'interface web de Gotify.
  2. Create an Application.
  3. Copiez le jeton d'application généré.

Envoyer un message

curl -X POST 'http://<SERVER-IP>/message?token=<APP_TOKEN>' \
     -F 'title=Hello' \
     -F 'message=world' \
     -F 'priority=5'

Les clients peuvent s'abonner aux notifications en direct via : /stream

Fichiers et répertoires importants

  • Chemin d'installation : /root/gotify
  • Fichier Compose : /root/gotify/docker-compose.yml
  • Fichier d'environnement : /root/gotify/.env
  • Volume de données Docker : /var/lib/docker/volumes/gotify_gotify_data

Gestion de Docker

Afficher l'état :

cd /root/gotify
docker compose ps

Voir les logs :

cd /root/gotify
docker compose logs -f

Redémarrer Gotify :

cd /root/gotify
docker compose restart

Arrêter Gotify :

cd /root/gotify
docker compose down

Démarrez Gotify :

cd /root/gotify
docker compose up -d

Plus dans Auto-hébergé

Apps connexes.

Déployer Gotify maintenant. À partir de 2,48 $/mois.