refactor: use Depends for settings and session_local (#59)

This commit is contained in:
Felix Spöttel
2024-01-01 14:28:19 +01:00
committed by GitHub
parent 557de5a442
commit 3559aa5936
20 changed files with 207 additions and 122 deletions

View File

@@ -20,4 +20,4 @@ COPY alembic.ini .
ENV VIRTUAL_ENV /opt/venv
ENV PATH /opt/venv/bin:$PATH
CMD alembic upgrade head && uvicorn app.web:app --host ${HOST:-0.0.0.0} --port ${PORT:-8000} --log-level info --workers 4 --proxy-headers
CMD alembic upgrade head && uvicorn app.web:app --host ${HOST:-0.0.0.0} --port ${PORT:-8000} --log-level info --workers 4 --proxy-headers --factory