# CertMate Configuration # Copy this file to .env and update the values # Flask Configuration FLASK_ENV=production FLASK_DEBUG=False # Application Settings HOST=0.0.0.0 PORT=8000 # Cloudflare API Token # Get this from: https://dash.cloudflare.com/profile/api-tokens # Required permissions: Zone:DNS:Edit, Zone:Zone:Read CLOUDFLARE_TOKEN=your_cloudflare_api_token_here # API Bearer Token for authentication # Use a strong, random token for security (auto-generated if unset) # Generate one with: python -c "import secrets; print(secrets.token_urlsafe(32))" API_BEARER_TOKEN=your_secure_api_token_here # Alternative: point to a file containing the token (takes precedence over API_BEARER_TOKEN) # API_BEARER_TOKEN_FILE=/run/secrets/api_bearer_token # Secret key for Flask session management (auto-generated if unset) # Generate one with: python -c "import secrets; print(secrets.token_urlsafe(32))" SECRET_KEY=your-secret-key-here # Alternative: point to a file containing the key (takes precedence over SECRET_KEY) # SECRET_KEY_FILE=/run/secrets/secret_key