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:
ske087
2025-07-16 17:49:10 -04:00
parent e9a8f5e622
commit 264a81652a
27 changed files with 140 additions and 24 deletions

4
.dockerignore Normal file → Executable file
View 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/