Skip to content

Commit b8b970f

Browse files
authored
Merge pull request #51 from amfoss/praveshan-develop
FIX: Correctly set up alembic migration
2 parents f3138ac + 08c05b8 commit b8b970f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- .env
1111
depends_on:
1212
- db
13-
command: uvicorn app.main:app --host 0.0.0.0 --port 8000
13+
command: bash -c "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port 8000"
1414
volumes:
1515
- ./alembic/versions:/app/alembic/versions
1616

0 commit comments

Comments
 (0)