Files
qr-code_manager/.env.sample
ske087 264a81652a Production deployment fixes and enhancements
- 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
2025-07-16 17:49:10 -04:00

20 lines
615 B
Plaintext
Executable File

# QR Code Manager Environment Configuration
# Application Domain - Used for URL shortener functionality
# Examples:
# For development: APP_DOMAIN=localhost:5000
# For production: APP_DOMAIN=qr.moto-adv.com
# For production with HTTPS: APP_DOMAIN=https://qr.moto-adv.com
APP_DOMAIN=localhost:5000
# Flask Configuration
FLASK_ENV=development
SECRET_KEY=your-secret-key-change-in-production
# Database Configuration (if using a database in the future)
# DATABASE_URL=sqlite:///qr_manager.db
# Admin Credentials (optional override)
# ADMIN_USERNAME=admin
# ADMIN_PASSWORD_HASH=$2b$12$... # bcrypt hash of password