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
This commit is contained in:
4
.dockerignore
Normal file → Executable file
4
.dockerignore
Normal file → Executable file
@@ -23,13 +23,15 @@ wheels/
|
||||
*.egg
|
||||
|
||||
# Virtual environments
|
||||
.env
|
||||
.env.*
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
# Allow production .env file
|
||||
!.env
|
||||
|
||||
# IDEs
|
||||
.vscode/
|
||||
|
||||
Reference in New Issue
Block a user