Remove uvicorn hot reload and exclude flags from docker-compose app service command.

This commit is contained in:
vinland100 2026-01-06 17:12:07 +08:00
parent 1876649ed3
commit ed5aaa501f
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ services:
condition: service_healthy
redis:
condition: service_healthy
# 开发模式启用 --reload 热重载
command: sh -c ".venv/bin/alembic upgrade head && .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload --reload-exclude 'data/*'"
# 开发模式下,可以启用 --reload 热重载
command: sh -c ".venv/bin/alembic upgrade head && .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000'"
networks:
- deepaudit-network