- Added environment variable loading with python-dotenv - Fixed Docker session permissions by using /tmp directory - Updated .dockerignore to include .env file properly - Enhanced docker-compose.yml with env_file directive - Fixed Gunicorn configuration for Docker compatibility - Updated README.md with comprehensive deployment docs - Cleaned up debug logging from API routes - Added DOMAIN_SETUP.md for reverse proxy guidance - All production issues resolved and tested working - Application now accessible at qr.moto-adv.com
25 lines
510 B
Plaintext
Executable File
25 lines
510 B
Plaintext
Executable File
# QR Code Manager Environment Configuration
|
|
# Copy this file to .env and customize as needed
|
|
|
|
# Security Settings
|
|
SECRET_KEY=your-super-secret-key-change-me-in-production
|
|
ADMIN_USERNAME=admin
|
|
ADMIN_PASSWORD=admin123
|
|
|
|
# Flask Configuration
|
|
FLASK_ENV=production
|
|
FLASK_DEBUG=false
|
|
|
|
# Server Configuration
|
|
HOST=0.0.0.0
|
|
PORT=5000
|
|
|
|
# Upload Configuration
|
|
MAX_CONTENT_LENGTH=16777216
|
|
|
|
# Default QR Code Settings
|
|
DEFAULT_QR_SIZE=10
|
|
DEFAULT_QR_BORDER=4
|
|
DEFAULT_FOREGROUND_COLOR=#000000
|
|
DEFAULT_BACKGROUND_COLOR=#FFFFFF
|