minmal-file-cloud-email-pim.../.env.example

31 lines
693 B
Plaintext

# Mini-Cloud Konfiguration
# Kopiere diese Datei nach .env und passe die Werte an
# Flask
# Token generieren: python3 -c "import secrets; print(secrets.token_urlsafe(64))"
SECRET_KEY=change-me-to-a-random-secret-key
FLASK_ENV=production
FLASK_DEBUG=0
# Datenbank
DATABASE_PATH=./data/minicloud.db
# Dateispeicher
UPLOAD_PATH=./data/files
# JWT
# Token generieren: python3 -c "import secrets; print(secrets.token_urlsafe(64))"
JWT_SECRET_KEY=change-me-to-another-random-secret-key
JWT_ACCESS_TOKEN_EXPIRES=900
JWT_REFRESH_TOKEN_EXPIRES=604800
# Server
HOST=0.0.0.0
PORT=5000
# Frontend URL (fuer CORS)
FRONTEND_URL=http://localhost:3010
# Max Upload-Groesse in MB
MAX_UPLOAD_SIZE_MB=500