mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-12 21:48:35 +03:00
refactor: use Depends for settings and session_local (#59)
This commit is contained in:
@@ -12,7 +12,7 @@ services:
|
||||
- "--entrypoints.web.address=:80"
|
||||
|
||||
web:
|
||||
command: bash -c "alembic upgrade head && uvicorn app.web:app --reload --host ${HOST:-0.0.0.0} --port ${PORT:-8000} --log-level info"
|
||||
command: bash -c "alembic upgrade head && uvicorn app.web:app --reload --host ${HOST:-0.0.0.0} --port ${PORT:-8000} --log-level info --factory"
|
||||
# NOTE: the docker on mac mount adapter (virtioFS) does not support flock.
|
||||
# this can cause the sqlite database to corrupt when written from worker <> api simultaneously.
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user