Add Docker support

- Dockerfile: multi-stage Python 3.12 slim build
- docker-compose.yml: app + PostgreSQL 16 with healthcheck
- requirements.txt: fastapi, uvicorn, psycopg, passlib, jose
- .dockerignore: exclude venv, pycache, secrets
- app.py: env-based DB config (DB_HOST/PORT/NAME/USER/PASSWORD)
- README: Docker deploy instructions
This commit is contained in:
Jetour BI
2026-06-18 20:47:23 +00:00
parent 9ff9ec27e9
commit 3f6824d86c
7 changed files with 153 additions and 3 deletions

1
.gitignore vendored
View File

@@ -5,4 +5,5 @@ __pycache__/
.env
*.log
.DS_Store
.dbpass
migrations/_migrations*