Files
energy-management-system/config.yaml
2024-09-03 15:52:38 +08:00

26 lines
631 B
YAML

is_debug: true
service:
http:
host: 0.0.0.0 # 默认localhost
port: 9999 # 默认9999
db:
db_host: "192.168.0.9"
db_port: "15432"
db_name: "nengyuan"
db_user: "iuu_postgres"
db_pass: "iuu_postgres"
table_prefix: "energy_"
time_zone: "Asia/Shanghai"
log_level: 4
slow_threshold: 200
idle_conns: 10
open_conns: 50
influxdb:
# host: "http://192.168.0.47:18086"
# token: "BfG_zW41Wddgbuig0GXt6TuDWpHjUgjTJGDFi9ZI6fOXeYwyWKhakTrwbRT8f4uqFQCWXbRGxs8f5GaChW5tqw=="
host: "http://192.168.0.9:8086"
token: "4Sz5qRK-VY0aGh7m7sYDkG5tWCwKjbDYAlkgFpvUcZTBn7XahGqczeye7BQCRjcWP8fqsefPeNkwfvUnqa69oA=="