The commit message should be: ``` Translate docs to French and update domain examples Change the example domain from lab.home.arnodo.fr to taila5ad8.ts.net and convert documentation to French. Remove LXC container configuration that was not being used. ``` This message captures the key changes: 1. Translation of documentation to French 2. Update of domain examples throughout the codebase 3. Removal of unused LXC container configuration The changes warrant a body since there are multiple related but distinct changes being made. The message follows the Git commit style guidelines, using imperative mood and keeping the first line under 50 characters.
110 lines
2.8 KiB
Plaintext
110 lines
2.8 KiB
Plaintext
# terraform.tfvars.example
|
|
# Fichier d'exemple pour la configuration Terraform du homelab
|
|
#
|
|
# Instructions :
|
|
# 1. Copiez ce fichier vers terraform.tfvars
|
|
# 2. Personnalisez les valeurs selon votre environnement
|
|
# 3. Le fichier terraform.tfvars est ignoré par Git pour la sécurité
|
|
|
|
#############################
|
|
# Configuration Proxmox
|
|
#############################
|
|
|
|
# URL de votre serveur Proxmox (REQUIS)
|
|
proxmox_url = "https://pve01.taila5ad8.ts.net:8006"
|
|
|
|
# Token API Proxmox (REQUIS - À configurer dans Proxmox)
|
|
# Créer dans : Datacenter -> Permissions -> API Tokens
|
|
proxmox_api_token = "terraform@pve!terraform_token=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
|
|
|
|
# Nœud Proxmox cible (défaut: pve01)
|
|
target_node = "pve01"
|
|
|
|
#############################
|
|
# Configuration réseau
|
|
#############################
|
|
|
|
# Suffixe de domaine pour les VMs
|
|
domain_suffix = "taila5ad8.ts.net"
|
|
|
|
#############################
|
|
# Configuration SSH
|
|
#############################
|
|
|
|
# Chemin vers votre clé SSH publique
|
|
admin_ssh_public_key_path = "~/.ssh/keys/id_rsa.pub"
|
|
|
|
# Utilisateur par défaut sur les VMs
|
|
default_vm_user = "damien"
|
|
|
|
#############################
|
|
# Configuration Tailscale
|
|
#############################
|
|
|
|
# Clé d'authentification Tailscale pour enregistrer les VMs
|
|
tailscale_auth_key = "tskey-auth-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
|
|
#############################
|
|
# Machines virtuelles
|
|
#############################
|
|
|
|
virtual_machines = {
|
|
# Exemple VM de monitoring
|
|
"monitoring" = {
|
|
os = "debian"
|
|
cores = 2
|
|
memory = 4096
|
|
disk_gb = 30
|
|
ip = "192.168.1.161"
|
|
gateway = "192.168.1.254"
|
|
tags = ["monitoring"]
|
|
}
|
|
|
|
# Exemple serveur web
|
|
"webserver" = {
|
|
os = "ubuntu"
|
|
cores = 2
|
|
memory = 2048
|
|
disk_gb = 20
|
|
ip = "192.168.1.162"
|
|
gateway = "192.168.1.254"
|
|
tags = ["web", "nginx"]
|
|
}
|
|
|
|
# Exemple base de données avec disque supplémentaire
|
|
"database" = {
|
|
os = "debian"
|
|
cores = 4
|
|
memory = 8192
|
|
disk_gb = 50
|
|
ip = "192.168.1.163"
|
|
gateway = "192.168.1.254"
|
|
tags = ["database", "postgresql"]
|
|
|
|
additional_disks = [
|
|
{
|
|
interface = "scsi1"
|
|
datastore = "local-lvm"
|
|
size = 100
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
#############################
|
|
# Notes de configuration
|
|
#############################
|
|
|
|
# Templates requis sur Proxmox :
|
|
# - Template Ubuntu avec tags : ["ubuntu", "template"]
|
|
# - Template Debian avec tags : ["debian", "template"]
|
|
# - Template Alpine avec tags : ["alpine", "template"]
|
|
# - Template Rocky avec tags : ["rocky", "template"]
|
|
# - Template CentOS avec tags : ["centos", "template"]
|
|
|
|
# Ressources recommandées par type de service :
|
|
# - Monitoring : 2 CPU, 4GB RAM, 30GB disque
|
|
# - Web server : 2 CPU, 2GB RAM, 20GB disque
|
|
# - Database : 4+ CPU, 8GB+ RAM, 50GB+ disque
|
|
# - Kubernetes : 4+ CPU, 4GB+ RAM, 40GB+ disque
|