homework-jianmu/tools/tdgpt/cfg/taosanode.ini

87 lines
1.5 KiB
INI
Executable File

#uwsgi --ini taosanode.ini
#uwsgi --reload taosanode.pid
#uwsgi --stop taosanode.pid
[uwsgi]
# charset
env = LC_ALL = en_US.UTF-8
# ip:port
http = 0.0.0.0:6090
# the local unix socket file than communicate to Nginx
#socket = 127.0.0.1:8001
#socket-timeout = 10
# base directory
chdir = /usr/local/taos/taosanode/lib
# initialize python file
wsgi-file = /usr/local/taos/taosanode/lib/taosanalytics/app.py
# call module of uWSGI
callable = app
# auto remove unix Socket and pid file when stopping
vacuum = true
# socket exec model
#chmod-socket = 664
# uWSGI pid
uid = root
# uWSGI gid
gid = root
# main process
master = true
# the number of worker processes
processes = 2
# pid file
pidfile = /usr/local/taos/taosanode/taosanode.pid
# enable threads
enable-threads = true
# the number of threads for each process
threads = 4
# memory useage report
memory-report = true
# smooth restart
reload-mercy = 10
# conflict with systemctl, so do NOT uncomment this
# daemonize = /var/log/taos/taosanode/taosanode.log
# log directory
logto = /var/log/taos/taosanode/taosanode.log
# wWSGI monitor port
stats = 0.0.0.0:8387
# python virtual environment directory
virtualenv = /usr/local/taos/taosanode/venv/
[taosanode]
# default app log file
app-log = /var/log/taos/taosanode/taosanode.app.log
# model storage directory
model-dir = /usr/local/taos/taosanode/model/
# default log level
log-level = DEBUG
# draw the query results
draw-result = 0
[tsfm-service]
# moe default service host
tdtsfm_1 = http://127.0.0.1:5000/tdtsfm
timemoe-fc = http://127.0.0.1:5001/timemoe