Erişim
- Gotify web arayüzünü açın:
http://<SERVER-IP> - Yönetici kimlik bilgileri şurada saklanır:
/root/gotify/.env - İlk girişten sonra yönetici şifresini web arayüzünden değiştirin.
Mesaj gönderme
Bir uygulama oluşturma
- Gotify web arayüzünü açın.
- Create an Uygulama.
- Oluşturulan uygulama belirtecini kopyalayın.
Mesaj gönderme
curl -X POST 'http://<SERVER-IP>/message?token=<APP_TOKEN>' \
-F 'title=Hello' \
-F 'message=world' \
-F 'priority=5'
İstemciler canlı bildirimlere şu yolla abone olabilir: /stream
Önemli Dosyalar ve Dizinler
- Kurulum yolu:
/root/gotify - Compose Dosyası:
/root/gotify/docker-compose.yml - Ortam Dosyası:
/root/gotify/.env - Docker veri birimi:
/var/lib/docker/volumes/gotify_gotify_data
Docker yönetimi
Durumu görüntüleyin:
cd /root/gotify
docker compose ps
Logları göster:
cd /root/gotify
docker compose logs -f
Gotify'yi yeniden başlatın:
cd /root/gotify
docker compose restart
Gotify'ı durdurun:
cd /root/gotify
docker compose down
Gotify'ı başlatın:
cd /root/gotify
docker compose up -d