2022-08-21 08:46:26 -05:00
|
|
|
[supervisord]
|
|
|
|
|
|
|
|
[fcgi-program:uvicorn]
|
2022-08-21 11:13:21 -05:00
|
|
|
socket=tcp://localhost:%(ENV_UVICORN_PORT)s
|
2022-08-21 08:46:26 -05:00
|
|
|
command=%(ENV_VENV_DIR)s/bin/uvicorn app.main:app --no-server-header --fd 0
|
|
|
|
numprocs=2
|
|
|
|
process_name=uvicorn-%(process_num)d
|
|
|
|
redirect_stderr=true
|
2022-08-22 12:32:39 -05:00
|
|
|
stdout_logfile=%(ENV_LOG_PATH)s/uvicorn.log
|
2022-08-21 08:46:26 -05:00
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
|
|
|
|
[program:incoming_worker]
|
|
|
|
command=%(ENV_VENV_DIR)s/bin/inv process-incoming-activities
|
|
|
|
numproc=1
|
|
|
|
redirect_stderr=true
|
2022-08-22 12:32:39 -05:00
|
|
|
stdout_logfile=%(ENV_LOG_PATH)s/incoming.log
|
2022-08-21 08:46:26 -05:00
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
|
|
|
|
[program:outgoing_worker]
|
|
|
|
command=%(ENV_VENV_DIR)s/bin/inv process-outgoing-activities
|
|
|
|
numproc=1
|
|
|
|
redirect_stderr=true
|
2022-08-22 12:32:39 -05:00
|
|
|
stdout_logfile=%(ENV_LOG_PATH)s/outgoing.log
|
2022-08-21 08:46:26 -05:00
|
|
|
stdout_logfile_maxbytes=0
|