Files

36 lines
1.2 KiB
Django/Jinja

# 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