TP7 - Déploiement Ansible complet avec scripts PowerShell et documentation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user