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
+29
View File
@@ -0,0 +1,29 @@
# Variables globales pour tous les hôtes
---
# Configuration du projet
project_name: dockezr
project_repo: "https://github.com/VOTRE_USERNAME/dockezr.git"
project_branch: main
deploy_dir: "/opt/{{ project_name }}"
# Configuration Docker
docker_compose_version: "2.23.0"
# Utilisateur du système
deploy_user: "{{ ansible_user }}"
# Ports de l'application
backend_port: 8001
frontend_port: 3000
prometheus_port: 9090
grafana_port: 3001
# Configuration de la base de données (Production)
postgres_user: dockezr_user
postgres_password: "changez_ce_mot_de_passe_en_production"
postgres_db: dockezr
# Configuration Grafana
grafana_admin_user: admin
grafana_admin_password: "changez_ce_mot_de_passe_en_production"