2 Star 8 Fork 4

Charles Lai/devops-backend-lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
daemon.conf 2.29 KB
一键复制 编辑 原始数据 按行查看 历史
Charles Lai 提交于 2023-12-18 19:20 . feat: 增加docker镜像打包
[unix_http_server]
file=/tmp/supervisor.sock ; path to your socket file
[supervisord]
logfile=/var/log/supervisord.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=true ; run supervisord as a daemon
minfds=1024 ; number of startup file descriptors
minprocs=200 ; number of process descriptors
user=root ; default user
childlogdir=/var/log/ ; where child log files will live
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
[program:nginx]
command=nginx -g 'daemon off;'
autostart=true
autorestart=true
redirect_stderr=true
priority=1
[program:backend]
command=gunicorn devops_backend.wsgi -b 0.0.0.0:8080 -t 60 --thread 20
directory=/app/devops-backend
autostart=true
autorestart=true
startsecs=3
priority=1
stopasgroup=true
killasgroup=true
stderr_logfile=/dev/sederr
stderr_logfile_maxbytes=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:websocket]
command=daphne devops_backend.asgi:application -b 0.0.0.0 -p 8081
directory=/app/devops-backend
autostart=true
autorestart=true
startsecs=3
priority=1
stopasgroup=true
killasgroup=true
stderr_logfile=/dev/sederr
stderr_logfile_maxbytes=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:qtask]
command=python manage.py qcluster
directory=/app/devops-backend
autostart=true
autorestart=true
startsecs=3
priority=1
stopasgroup=true
killasgroup=true
stderr_logfile=/dev/sederr
stderr_logfile_maxbytes=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:celery]
command=./celery.sh
directory=/app/devops-backend
autostart=true
autorestart=true
startsecs=3
priority=1
stopasgroup=true
killasgroup=true
stderr_logfile=/dev/sederr
stderr_logfile_maxbytes=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/qitan/devops-backend-lite.git
git@gitee.com:qitan/devops-backend-lite.git
qitan
devops-backend-lite
devops-backend-lite
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385