Revision 9b99f6adefd2e81e8639fd0ec696dd0402c4659e authored by Maria Khrustaleva on 09 January 2024, 11:17:09 UTC, committed by GitHub on 09 January 2024, 11:17:09 UTC
The distutils module is [deprecated](https://peps.python.org/pep-0632) and will be removed from the standard library in Python 3.12.
1 parent 64d6d7a
server.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:clamav_update]
startsecs=0
command=bash -c "if [ \"${CLAM_AV}\" = 'yes' ]; then /usr/bin/freshclam -d \
-l %(ENV_HOME)s/logs/freshclam.log --foreground=true; fi"
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
autostart=true
autorestart=true
startretries=5
numprocs=1
process_name=%(program_name)s-%(process_num)d
[fcgi-program:uvicorn]
socket=unix:///tmp/uvicorn.sock
command=python3 -m uvicorn --fd 0 --forwarded-allow-ips='*' cvat.asgi:application
autorestart=true
environment=CVAT_EVENTS_LOCAL_DB_FILENAME="events_%(process_num)03d.db"
numprocs=%(ENV_NUMPROCS)s
process_name=%(program_name)s-%(process_num)d
[program:smokescreen]
command=smokescreen --listen-ip=127.0.0.1 %(ENV_SMOKESCREEN_OPTS)s
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...