Add Docker, migrations, and initial database setup

Added Dockerfile and docker-compose.yaml for containerization. Introduced Alembic migrations with initial schema and a migration to alter column types. Added requirements.txt for dependencies and removed temp.py cleanup script. Updated .gitignore to allow tracking of migration files.
This commit is contained in:
2025-08-11 00:49:46 +02:00
parent b8bd8d802b
commit 66204e7e4a
11 changed files with 349 additions and 17 deletions

9
docker-compose.yaml Normal file
View File

@@ -0,0 +1,9 @@
version: "3.9"
services:
app:
build: .
container_name: my_python_sqlite_app
ports:
- "5000:5000" # change if needed
volumes:
- ./data:/app/data # maps host ./data to container /app/data