https://github.com/opencv/cvat
Raw File
Tip revision: 2ec5c44d1f422eb2367eff6942b851d0aadac2e2 authored by Nikita Manovich on 07 October 2023, 08:04:56 UTC
Release v2.7.4
Tip revision: 2ec5c44
utils.conf
[unix_http_server]
file = /tmp/supervisord/supervisor.sock

[supervisorctl]
serverurl = unix:///tmp/supervisord/supervisor.sock


[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[supervisord]
nodaemon=true
logfile=%(ENV_HOME)s/logs/supervisord.log ; supervisord log file
logfile_maxbytes=50MB       ; maximum size of logfile before rotation
logfile_backups=10          ; number of backed up logfiles
loglevel=debug              ; info, debug, warn, trace
pidfile=/tmp/supervisord/supervisord.pid ; pidfile location
childlogdir=%(ENV_HOME)s/logs/            ; where child log files will live

[program:rqscheduler]
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_REDIS_HOST)s:6379 -t 0 -- bash -ic \
    "python3 ~/rqscheduler.py --host %(ENV_CVAT_REDIS_HOST)s --password '%(ENV_CVAT_REDIS_PASSWORD)s' -i 30 --path '%(ENV_HOME)s'"
environment=VECTOR_EVENT_HANDLER="SynchronousLogstashHandler"
numprocs=1

[program:rqworker-notifications]
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_REDIS_HOST)s:6379 -t 0 -- bash -ic " \
    exec python3 %(ENV_HOME)s/manage.py rqworker -v 3 notifications \
        --worker-class cvat.rqworker.DefaultWorker \
    "
environment=VECTOR_EVENT_HANDLER="SynchronousLogstashHandler"
numprocs=1

[program:rqworker_cleaning]
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_REDIS_HOST)s:6379 -t 0 -- bash -ic " \
    exec python3 %(ENV_HOME)s/manage.py rqworker -v 3 cleaning \
        --worker-class cvat.rqworker.DefaultWorker \
    "
environment=VECTOR_EVENT_HANDLER="SynchronousLogstashHandler"
numprocs=%(ENV_NUMPROCS)s
process_name=rqworker_cleaning_%(process_num)s
back to top