TP7 - Déploiement Ansible complet avec scripts PowerShell et documentation

This commit is contained in:
sartron_Northblue
2025-10-16 15:14:09 +04:00
parent 37199521e4
commit 5a879b7db1
28 changed files with 3810 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
# Fichier de configuration de production généré automatiquement par Ansible
# Date de génération: {{ ansible_date_time.iso8601 }}
# ==============================================
# Configuration Base de Données PostgreSQL
# ==============================================
POSTGRES_USER={{ postgres_user }}
POSTGRES_PASSWORD={{ postgres_password }}
POSTGRES_DB={{ postgres_db }}
DB_PORT=5432
# ==============================================
# Ports des Services
# ==============================================
BACKEND_PORT={{ backend_port }}
FRONTEND_PORT={{ frontend_port }}
PROMETHEUS_PORT={{ prometheus_port }}
GRAFANA_PORT={{ grafana_port }}
# ==============================================
# Configuration Frontend
# ==============================================
NEXT_PUBLIC_API_URL=http://{{ ansible_host }}:{{ backend_port }}
# ==============================================
# Configuration Grafana
# ==============================================
GRAFANA_USER={{ grafana_admin_user }}
GRAFANA_PASSWORD={{ grafana_admin_password }}
# ==============================================
# Configuration de Production
# ==============================================
NODE_ENV=production