[supervisord] nodaemon=true # user=root <--- XÓA DÒNG NÀY (hoặc thêm dấu # đằng trước) logfile=/tmp/supervisord.log pidfile=/tmp/supervisord.pid [program:backend] directory=/app/ai-core command=python -m app.main autostart=true autorestart=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 [program:uvicorn] directory=/app/Web/backend command=uvicorn main:app --host 0.0.0.0 --port 7860 --reload autostart=true autorestart=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0