Spaces:
Paused
Paused
| [supervisord] | |
| nodaemon=true | |
| user=root | |
| [program:nginx] | |
| command=nginx -g "daemon off;" | |
| autostart=true | |
| autorestart=true | |
| stderr_logfile=/var/log/supervisor/nginx.err.log | |
| stdout_logfile=/var/log/supervisor/nginx.out.log | |
| [program:backend] | |
| directory=/app/backend | |
| command=uvicorn main:app --host 0.0.0.0 --port 8000 | |
| autostart=true | |
| autorestart=true | |
| stderr_logfile=/var/log/supervisor/backend.err.log | |
| stdout_logfile=/var/log/supervisor/backend.out.log | |
| [program:frontend] | |
| directory=/app/frontend | |
| command=npm start -- -p 3000 | |
| autostart=true | |
| autorestart=true | |
| stderr_logfile=/var/log/supervisor/frontend.err.log | |
| stdout_logfile=/var/log/supervisor/frontend.out.log | |
| environment=PORT=3000,NEXT_PUBLIC_API_URL=http://localhost:7860 |