mirror of https://github.com/tp4a/teleport
51 lines
1.2 KiB
INI
51 lines
1.2 KiB
INI
; codec: utf-8
|
|
|
|
[common]
|
|
|
|
; ip=0.0.0.0
|
|
|
|
; port listen by web server, default to 7190.
|
|
; DO NOT FORGET update `common::web-server-rpc` in core.ini if you modified this setting.
|
|
port=7190
|
|
|
|
; log file of web server, default to /var/log/teleport/tpweb.log
|
|
; log-file=/var/log/teleport/tpweb.log
|
|
|
|
; `log-level` can be 0 ~ 4, default to 2.
|
|
; LOG_LEVEL_DEBUG 0 log every-thing.
|
|
; LOG_LEVEL_VERBOSE 1 log every-thing but without debug message.
|
|
; LOG_LEVEL_INFO 2 log information/warning/error message.
|
|
; LOG_LEVEL_WARN 3 log warning and error message.
|
|
; LOG_LEVEL_ERROR 4 log error message only.
|
|
log-level=2
|
|
|
|
; 0/1. default to 0.
|
|
; in debug mode, `log-level` force to 0 and display more message for debug purpose.
|
|
debug-mode=0
|
|
|
|
; `core-server-rpc` is the rpc interface of core server.
|
|
; default to `http://127.0.0.1:52080/rpc`.
|
|
; DO NOT FORGET update this setting if you modified rpc::bind-port in core.ini.
|
|
core-server-rpc=http://127.0.0.1:52080/rpc
|
|
|
|
|
|
[database]
|
|
|
|
; database in use, should be sqlite/mysql, default to sqlite.
|
|
; type=sqlite
|
|
|
|
; sqlite-file=/usr/local/teleport/data/db/teleport.db
|
|
|
|
; mysql-host=127.0.0.1
|
|
|
|
; mysql-port=3306
|
|
|
|
; mysql-db=teleport
|
|
|
|
; mysql-prefix=tp_
|
|
|
|
; mysql-user=teleport
|
|
|
|
; mysql-password=password
|
|
|