- Add Dockerfile, docker-compose.yml, .dockerignore for containerised deployment - Add deploy/ scripts (deploy.sh, nginx/apache configs, password generator) - Replace MSAL/Azure AD auth with local username/password authentication - Add login.html template - Simplify app.py, middleware, and auth routes for production use - Update gunicorn_config.py and wsgi.py for Docker/production - Update templates to work with new auth and URL prefix handling Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
399 B
YAML
17 lines
399 B
YAML
services:
|
|
web:
|
|
build: .
|
|
container_name: hm-qc-app
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:5050:5000"
|
|
volumes:
|
|
- ./database:/app/database
|
|
- ./uploads:/app/uploads
|
|
- ./storage:/app/storage
|
|
- ./logs:/app/logs
|
|
- ./config/box_config.json:/app/config/box_config.json:ro
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- FLASK_ENV=production
|