forked from ExileLine/ExileTestPlatformServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexile_uwsgi_for_docker.ini
36 lines (32 loc) · 1.07 KB
/
exile_uwsgi_for_docker.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[uwsgi]
# 连接方式
# socket = /srv/ExileTestPlatformServer/ExileTestPlatformServer.sock
# http = :5000
http-socket = :5000
# 基本配置
# home = /root/.local/share/virtualenvs/ExileTestPlatformServer-fJX6_D3O
chdir = /srv/ExileTestPlatformServer
module = run
callable = app
processes = 4
threads = 8
# 使用APSchedule:preload=True, lazy-apps=true, enable-threads=true
preload = true
lazy-apps = true
master = true
buffer-size = 65536
wsgi-file = /srv/ExileTestPlatformServer/run.py
chmod-socket = 660
# plugins = python3
enable-threads = true
vacuum = true
# 处理(超时/虚拟内存/请求限制/进程结束)
reload-mercy = 8
harakiri = 60
limit-as = 1024
max-requests = 20000
listen = 4096
# 日志(docker部署禁用,否则守护进程冲突)
# daemonize = /srv/logs/exile_uwsgi.log
# disable-logging = true
# log-maxsize = 50000000