Files
elevator-server/config.yaml
2024-12-23 18:34:46 +08:00

39 lines
762 B
YAML

is_debug: true
service:
http:
host: 0.0.0.0 # 默认localhost
port: 8001 # 默认9999
tcp:
host: 0.0.0.0 # 默认localhost
port: 8002 # 默认9999
db:
db_host: "127.0.0.1"
db_port: "3306"
db_name: "dianti"
db_user: "root"
db_pass: "root"
table_prefix: "dt_"
time_zone: "Local"
log_level: 4
slow_threshold: 200
idle_conns: 10
open_conns: 50
#jwt:
# signing_key: iuu
# expires_time: 7d
# buffer_time: 1d
# issuer: iuu.me
#influxdb:
# # host: "http://192.168.0.47:18086"
# # token: "BfG_zW41Wddgbuig0GXt6TuDWpHjUgjTJGDFi9ZI6fOXeYwyWKhakTrwbRT8f4uqFQCWXbRGxs8f5GaChW5tqw=="
# host: "http://192.168.0.9:8086"
# token: "4Sz5qRK-VY0aGh7m7sYDkG5tWCwKjbDYAlkgFpvUcZTBn7XahGqczeye7BQCRjcWP8fqsefPeNkwfvUnqa69oA=="