31 lines
954 B
Plaintext
31 lines
954 B
Plaintext
# 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
|