Implement initial project structure and setup
This commit is contained in:
27
etc/coin_prod.yaml
Normal file
27
etc/coin_prod.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
Service: coin
|
||||
Port: 16499
|
||||
ApiPort: 163602
|
||||
WebPort: 16500
|
||||
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=139.224.247.176 user=postgres password=Stock0310~! dbname=coin_prod port=19432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:Weidong2023~!@139.224.247.176:19379/1
|
||||
|
||||
# Binance 现货 API
|
||||
BinanceApiKey: ""
|
||||
BinanceApiSecret: ""
|
||||
|
||||
# 日志配置
|
||||
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