# Cloud Backend — copy this to .env and fill in values # Generate with: python -c "import secrets; print(secrets.token_hex(32))" SECRET_KEY=change-me-generate-a-long-random-string # SQLite for local dev. Switch to postgresql://user:pass@host/dbname for VPS. DATABASE_URL=sqlite:////app/data/cloud.db # JWT expiry in minutes ACCESS_TOKEN_EXPIRE_MINUTES=60 # Default sysadmin credentials (created on first startup if admin table is empty) ADMIN_USERNAME=sysadmin ADMIN_PASSWORD=changeme # The current latest release version — clients compare against this to detect updates LATEST_VERSION=0.0.0 # Xenia Connect — manager JWT (use a different secret from SECRET_KEY) # Generate with: python -c "import secrets; print(secrets.token_hex(32))" MANAGER_JWT_SECRET=change-me-manager-secret MANAGER_JWT_EXPIRE_HOURS=72 # Where customers open the apps (connect_frontend: /menu/ QR menu, /order/ online ordering), # e.g. https://menu.example.com. Sent to sites with the heartbeat: their table QR codes and # ordering link point here. Empty = sites use their CLOUD_URL. PUBLIC_APPS_URL=