| [supervisord] | |
| nodaemon=true | |
| logfile=/dev/stdout | |
| logfile_maxbytes=0 | |
| pidfile=/tmp/supervisord.pid | |
| [program:answer_service] | |
| command=/usr/local/bin/python -m answer_generation | |
| autostart=true | |
| autorestart=true | |
| stdout_logfile=/dev/stdout | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/stderr | |
| stderr_logfile_maxbytes=0 | |
| [program:question_service] | |
| command=/usr/local/bin/python -m question_generation | |
| autostart=true | |
| autorestart=true | |
| stdout_logfile=/dev/stdout | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/stderr | |
| stderr_logfile_maxbytes=0 | |
| [program:ui] | |
| command=/usr/local/bin/python app.py | |
| autostart=true | |
| autorestart=true | |
| environment=UI_PORT=7861 | |
| stdout_logfile=/dev/stdout | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/stderr | |
| stderr_logfile_maxbytes=0 | |