init
This commit is contained in:
22
etc/gostock_dev.yaml
Normal file
22
etc/gostock_dev.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
Service: gostock
|
||||
Port: 14299
|
||||
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=8.137.107.29 user=postgres password=Weidong2023~! dbname=stock_test port=19432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:Weidong2023~!@8.137.107.29:19379/
|
||||
|
||||
|
||||
# 日志配置
|
||||
Log:
|
||||
Level: 0 # 0:debug, 1:info, 2:warn, 3:error, 4:fatal
|
||||
Dir: logs
|
||||
Endpoint: http://127.0.0.1:13299/log
|
||||
Remote: false
|
||||
Console: true
|
||||
File: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user