microblog.pub/misc/docker-supervisord.conf

30 lines
640 B
Text
Raw Normal View History

2022-07-18 13:44:55 -05:00
[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
pidfile=data/supervisord.pid
2022-08-26 11:43:56 -05:00
[program:uvicorn]
command=uvicorn app.main:app --no-server-header --host 0.0.0.0
numprocs=1
autorestart=true
2022-07-18 13:44:55 -05:00
redirect_stderr=true
2022-07-28 13:28:13 -05:00
stdout_logfile=data/uvicorn.log
stdout_logfile_maxbytes=50MB
2022-07-18 13:44:55 -05:00
[program:incoming_worker]
command=inv process-incoming-activities
numproc=1
autorestart=true
2022-07-18 13:44:55 -05:00
redirect_stderr=true
2022-07-28 13:28:13 -05:00
stdout_logfile=data/incoming.log
stdout_logfile_maxbytes=50MB
2022-07-18 13:44:55 -05:00
[program:outgoing_worker]
command=inv process-outgoing-activities
numproc=1
autorestart=true
2022-07-18 13:44:55 -05:00
redirect_stderr=true
2022-07-28 13:28:13 -05:00
stdout_logfile=data/outgoing.log
stdout_logfile_maxbytes=50MB