fix : correctifs multiples
This commit is contained in:
87
RecetteScripts/.env.exemple
Normal file
87
RecetteScripts/.env.exemple
Normal file
@@ -0,0 +1,87 @@
|
||||
#############################################
|
||||
# ENVIRONNEMENT
|
||||
#############################################
|
||||
|
||||
# Nom de l'environnement (ex: DEV / RECETTE / PROD)
|
||||
ENV_NAME=RECETTE
|
||||
|
||||
|
||||
#############################################
|
||||
# POSTGRESQL
|
||||
#############################################
|
||||
|
||||
# Host PostgreSQL
|
||||
PGHOST=localhost
|
||||
|
||||
# Port PostgreSQL
|
||||
PGPORT=5432
|
||||
|
||||
# Utilisateur utilisé pour les dumps
|
||||
PGUSER=backup_user
|
||||
|
||||
# Mot de passe PostgreSQL
|
||||
PGPASSWORD=change_me_secure_password
|
||||
|
||||
# Bases à sauvegarder (séparées par espace)
|
||||
DBS="sirh inventory ferme"
|
||||
|
||||
|
||||
#############################################
|
||||
# SERVEUR DE STOCKAGE DES BACKUPS
|
||||
#############################################
|
||||
|
||||
# Utilisateur du serveur distant
|
||||
BACKUP_REMOTE_USER=backup
|
||||
|
||||
# Host ou IP du serveur distant
|
||||
BACKUP_REMOTE_HOST=192.168.1.50
|
||||
|
||||
# Dossier distant pour stocker les backups
|
||||
BACKUP_REMOTE_DIR=/home/backup/backups
|
||||
|
||||
|
||||
#############################################
|
||||
# SSH
|
||||
#############################################
|
||||
|
||||
# Clé SSH utilisée pour envoyer les dumps
|
||||
SSH_KEY=/home/backup/.ssh/id_ed25519_backup
|
||||
|
||||
# Timeout SSH (secondes)
|
||||
SSH_TIMEOUT=10
|
||||
|
||||
|
||||
#############################################
|
||||
# LOGS
|
||||
#############################################
|
||||
|
||||
# Dossier des logs backup
|
||||
BACKUP_LOG_DIR=/var/log/pg_backup
|
||||
|
||||
# Dossier logs monitoring apps
|
||||
APP_LOG_DIR=/var/log/app_health
|
||||
|
||||
|
||||
#############################################
|
||||
# DISCORD
|
||||
#############################################
|
||||
|
||||
# Webhook Discord pour notifications
|
||||
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/xxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
|
||||
# Ping en cas d'erreur
|
||||
DISCORD_PING=@here
|
||||
|
||||
|
||||
#############################################
|
||||
# HEALTH CHECK APPS
|
||||
#############################################
|
||||
|
||||
# Timeout connexion HTTP
|
||||
CHECK_CONNECT_TIMEOUT=3
|
||||
|
||||
# Timeout total curl
|
||||
CHECK_MAX_TIME=8
|
||||
|
||||
# Applications à vérifier
|
||||
APP_URLS="ferme.example.local sirh.example.local inventory.example.local"
|
||||
Reference in New Issue
Block a user