mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-19 21:24:27 +00:00
29 lines
640 B
Text
29 lines
640 B
Text
[supervisord]
|
|
nodaemon=true
|
|
logfile=/dev/null
|
|
logfile_maxbytes=0
|
|
pidfile=data/supervisord.pid
|
|
|
|
[program:uvicorn]
|
|
command=uvicorn app.main:app --no-server-header --host 0.0.0.0
|
|
numprocs=1
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
stdout_logfile=data/uvicorn.log
|
|
stdout_logfile_maxbytes=50MB
|
|
|
|
[program:incoming_worker]
|
|
command=inv process-incoming-activities
|
|
numproc=1
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
stdout_logfile=data/incoming.log
|
|
stdout_logfile_maxbytes=50MB
|
|
|
|
[program:outgoing_worker]
|
|
command=inv process-outgoing-activities
|
|
numproc=1
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
stdout_logfile=data/outgoing.log
|
|
stdout_logfile_maxbytes=50MB
|