dazhuang
f68edf2696
fix: use uvicorn directly without reload mode for backend startup
- Fix backend process dying immediately after startup
- Change from 'python -m app.main' to 'uvicorn app.main:app'
- Remove reload mode for stable background operation
- Resolve 'connect ECONNREFUSED 127.0.0.1:8000' error
Problem:
- Backend used reload=settings.DEBUG mode
- reload mode conflicts with nohup background running
- Process management became unstable
- Backend service stopped immediately after startup
Solution:
- Use uvicorn command directly without reload
- Single process mode, stable background operation
- Suitable for production environment
Files:
- start.sh: updated backend startup command
- docs/BACKEND_FIX.md: fix documentation
2026-03-22 03:14:54 +00:00
..
2026-03-21 14:23:20 +00:00
2026-03-22 03:14:54 +00:00
2026-03-21 14:23:20 +00:00
2026-03-21 14:23:20 +00:00
2026-03-22 02:59:20 +00:00
2026-03-21 14:23:20 +00:00
2026-03-21 14:23:20 +00:00
2026-03-22 02:49:22 +00:00
2026-03-21 14:23:20 +00:00
2026-03-21 14:23:20 +00:00
2026-03-22 02:49:22 +00:00
2026-03-21 14:23:20 +00:00
2026-03-21 14:23:20 +00:00
2026-03-22 02:49:22 +00:00