feat: add Docker support and database migrations
- Created Dockerfile for building and running the application with Uvicorn. - Added docker-compose.yml to manage application and PostgreSQL service. - Introduced Alembic migrations with initial schema for CRM domain objects. - Configured async SQLAlchemy engine for migrations. - Updated dependencies in uv.lock to include asyncpg, passlib, and pyjwt.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Ignore everything by default
|
||||
*
|
||||
|
||||
# Allow docker metadata
|
||||
!.dockerignore
|
||||
|
||||
# Allow application sources and dependency manifests
|
||||
!app/
|
||||
!pyproject.toml
|
||||
!uv.lock
|
||||
|
||||
# Allow runtime entrypoint if needed
|
||||
!main.py
|
||||
|
||||
# Allow Alembic configuration and migrations when needed for containers
|
||||
!alembic.ini
|
||||
!migrations/
|
||||
|
||||
# Allow environment template/documentation
|
||||
!.env
|
||||
!README.md
|
||||
Reference in New Issue
Block a user