Adding entrypoint to seed database
This commit is contained in:
1 parent
aca15db9bf
commit
b6dc6dd6b8
4 files changed
+12
-7
No files matched your search
@@ -28,10 +28,6 @@ services:
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
# Seed default roles/permissions/superuser, then start the server.
|
||||
command: >
|
||||
sh -c "uv run python -m scripts.seed &&
|
||||
uv run uvicorn app.main:app --host 0.0.0.0 --port 8000"
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
Reference in new issue
Block a user