mirror of
https://github.com/wowlikon/LibraryAPI.git
synced 2025-12-11 21:30:46 +00:00
Some documentation fixes for migrations and endpoints.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user