First Commit

This commit is contained in:
dedhersel
2026-02-17 12:43:27 +01:00
commit 38f85dc498
26 changed files with 9939 additions and 0 deletions

30
.env.example Normal file
View File

@@ -0,0 +1,30 @@
# Flask Configuration
SECRET_KEY=your-secret-key-change-this-in-production
# Database Configuration
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=your-database-password
DB_NAME=proxmox_manager
# Proxmox Configuration
PROXMOX_IP=yourproxmoxip
PROXMOX_PORT=8006
API_TOKEN_ID=root@pam!applicationname
API_TOKEN_SECRET=your-proxmox-api-token-secret
# Proxmox Public URL (per console via reverse proxy)
PROXMOX_PUBLIC_URL=https://proxmox.gwserver.it
# App Settings
MAX_BACKUPS_PER_USER=3
SESSION_TIMEOUT_MINUTES=60
# Cloudflare Configuration (per gestione sottodomini DNS)
# Ottieni API Token da: https://dash.cloudflare.com/profile/api-tokens
# Permessi richiesti: Zone.DNS (Edit)
CLOUDFLARE_API_TOKEN=your-cloudflare-api-token-here
# Trova Zone ID nella dashboard Cloudflare -> Seleziona dominio -> Overview (sidebar destra)
CLOUDFLARE_ZONE_ID=your-cloudflare-zone-id-here
# Il dominio principale su cui creare i sottodomini
CLOUDFLARE_DOMAIN=example.com