40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
pg_version: "16"
|
|
db_user: admin_gestion_commande_db
|
|
db_name: gestion_commande_db
|
|
db_password: "hb-FS462(#I~6(4',Nt=3Rd4567890jsezZ"
|
|
db_host: "localhost"
|
|
db_port: 5432
|
|
# Redis Configuration
|
|
redis_bind: "127.0.0.1"
|
|
redis_port: 6379
|
|
redis_maxmemory: "1024mb"
|
|
redis_maxmemory_policy: "allkeys-lru"
|
|
redis_password: "uQ64h5UhFdrm!H|_cCQer"
|
|
|
|
# ============================================
|
|
# Configuration Nginx et Applications
|
|
# ============================================
|
|
|
|
directory: "/home/ubuntu"
|
|
backend_dir: "/home/ubuntu/backend"
|
|
backend_binary: "/home/ubuntu/backend/main"
|
|
uploads_dir: "/home/ubuntu/backend/uploads"
|
|
frontend_port: 5173
|
|
domain_name: "mln-uber.club"
|
|
# Utilisateurs et permissions
|
|
user_web: "www-data" # Utilisateur pour les applications web
|
|
user_deploy: "ubuntu" # Utilisateur pour le déploiement
|
|
user_owner: "root" # Propriétaire des fichiers systemd
|
|
|
|
# Backend
|
|
backend_local_port: 8080
|
|
backend_port: 443
|
|
# Timeouts
|
|
nginx_proxy_timeout: 60
|
|
|
|
# Upload Size
|
|
nginx_max_body_size: "10M"
|
|
|
|
# Security
|
|
nginx_enable_firewall: true
|