mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-30 03:10:00 +00:00
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:
9
docker-compose.yaml
Normal file
9
docker-compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user