Some documentation fixes for migrations and endpoints.

This commit is contained in:
2025-06-24 13:59:54 +03:00
parent 64911a52b6
commit fd9e878134
3 changed files with 36 additions and 40 deletions

View File

@@ -1,6 +1,6 @@
services:
db:
container_name: db_library
container_name: db
image: postgres
expose:
- 5432
@@ -10,7 +10,7 @@ services:
- ./.env
api:
container_name: api_library
container_name: api
build: .
command: bash -c "alembic upgrade head && uvicorn library_service.main:app --reload --host 0.0.0.0 --port 8000"
volumes: