25 lines
639 B
Plaintext
25 lines
639 B
Plaintext
|
[supervisord]
|
||
|
|
||
|
[fcgi-program:uvicorn]
|
||
|
socket=tcp://localhost:%(ENV_UVICORN_PORT)
|
||
|
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
|
||
|
stdout_logfile=uvicorn.log
|
||
|
stdout_logfile_maxbytes=0
|
||
|
|
||
|
[program:incoming_worker]
|
||
|
command=%(ENV_VENV_DIR)s/bin/inv process-incoming-activities
|
||
|
numproc=1
|
||
|
redirect_stderr=true
|
||
|
stdout_logfile=incoming_worker.log
|
||
|
stdout_logfile_maxbytes=0
|
||
|
|
||
|
[program:outgoing_worker]
|
||
|
command=%(ENV_VENV_DIR)s/bin/inv process-outgoing-activities
|
||
|
numproc=1
|
||
|
redirect_stderr=true
|
||
|
stdout_logfile=outgoing_worker.log
|
||
|
stdout_logfile_maxbytes=0
|