Files
agence66-borgmatic/.env.example
BeauTroll 21355eceff
Some checks failed
Deploy Borgmatic Configuration / Deploy to Production Server (push) Has been cancelled
Add Uptime Kuma monitoring integration with dedicated hooks
Implement Uptime Kuma Push Monitor support with separate hook files
following separation of concerns principle.

Changes:
- Add UPTIME_KUMA_PUSH_URL to .env.example
- Create dedicated uptime-kuma-success.sh hook
- Create dedicated uptime-kuma-error.sh hook
- Update config.yaml to call both ntfy and Uptime Kuma hooks
- Each notification service has its own file for modularity

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 17:26:48 +01:00

49 lines
1.5 KiB
Plaintext

# Configuration Borgmatic - Variables d'environnement
# Copier ce fichier vers .env et remplir avec vos valeurs réelles
# ============================================
# CONFIGURATION BORG
# ============================================
# Passphrase de chiffrement Borg (si utilisé)
BORG_PASSPHRASE=your-secure-passphrase-here
# Repository Borg
# Exemples:
# - Local: /mnt/backup/borg-repo
# - Remote SSH: ssh://user@backup.example.com:22/path/to/repo
# - BorgBase: ssh://xxxxx@xxxxx.repo.borgbase.com/./repo
BORG_REPO=/path/to/borg/repository
# Clé SSH pour connexion au serveur de backup distant (si applicable)
# BORG_RSH="ssh -i /root/.ssh/borg_backup_key"
# ============================================
# NOTIFICATIONS NTFY
# ============================================
# URL du serveur ntfy
NTFY_URL=https://ntfy.sh/your-topic-name
# Authentification ntfy (format: username:password)
# Laisser vide si pas d'authentification
NTFY_USER=username:password
# ============================================
# MONITORING UPTIME KUMA
# ============================================
# URL du Push Monitor Uptime Kuma
# Obtenue depuis Uptime Kuma > Add New Monitor > Type: Push
UPTIME_KUMA_PUSH_URL=http://uptime-kuma:3001/api/push/YOUR_KEY_HERE
# ============================================
# OPTIONS AVANCÉES
# ============================================
# Niveau de log (0=minimal, 1=normal, 2=debug)
BORGMATIC_LOG_LEVEL=1
# Désactiver les vérifications d'intégrité si nécessaire
# BORGMATIC_SKIP_CHECKS=yes