feat: учётки стенда заводятся при старте, пароль совпадает с логином
This commit is contained in:
parent
7f8501696e
commit
a3224cb63a
4 changed files with 10 additions and 11 deletions
|
|
@ -44,7 +44,7 @@ services:
|
|||
fi;
|
||||
export SESSION_SECRET="$$(cat /run/lct/session-secret)";
|
||||
fi;
|
||||
alembic upgrade head && python scripts/seed.py &&
|
||||
alembic upgrade head && python scripts/seed.py && python scripts/users.py &&
|
||||
uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 1'
|
||||
environment:
|
||||
DATABASE_URL: postgresql+asyncpg://lct:${POSTGRES_PASSWORD:-lct}@postgres:5432/lct
|
||||
|
|
|
|||
Loading…
Reference in a new issue