Files
lego-instructions-manager/.env.example
T

29 lines
883 B
Bash

# Flask Configuration
FLASK_APP=run.py
FLASK_ENV=development
SECRET_KEY=your-secret-key-change-this-in-production
# Database Configuration
DATABASE_URL=sqlite:///lego_instructions.db
# For PostgreSQL: postgresql://username:password@localhost/lego_instructions
# Brickset API Configuration
BRICKSET_API_KEY=your-brickset-api-key-here
BRICKSET_USERNAME=your-brickset-username
BRICKSET_PASSWORD=your-brickset-password
# Upload Configuration
UPLOAD_FOLDER=app/static/uploads
MAX_CONTENT_LENGTH=52428800 # 50MB max file size
ALLOWED_EXTENSIONS=pdf,png,jpg,jpeg,gif
# Backup Configuration
# Where backup archives are written. Keep this OUTSIDE app/static/uploads.
# Docker: point this at a mounted volume, e.g. /data/backups
BACKUP_FOLDER=backups
# Archives to retain after a backup started from the admin UI (0 = keep all)
BACKUP_KEEP=5
# Application Configuration
SETS_PER_PAGE=20