feat: учётки стенда заводятся при старте, пароль совпадает с логином

This commit is contained in:
gglamer 2026-09-29 12:18:17 +00:00
commit a3224cb63a
4 changed files with 10 additions and 11 deletions

View file

@ -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