init
This commit is contained in:
17
config.yaml
Normal file
17
config.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user