35 lines
640 B
YAML
35 lines
640 B
YAML
Service: feed
|
||
Port: 12212
|
||
|
||
Databases:
|
||
Driver: postgres
|
||
Source:
|
||
- postgres://prod:CHANGE_ME@192.168.0.224:5432/scf?sslmode=disable&TimeZone=Asia/Shanghai
|
||
|
||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||
Cache: redis://null:CHANGE_ME@192.168.0.43:6379/
|
||
|
||
Etcd:
|
||
Endpoints:
|
||
- "192.168.0.83:2379"
|
||
|
||
# 微服务设置
|
||
MicroService:
|
||
Enable: false
|
||
|
||
# Gateway 设置
|
||
Gateway:
|
||
Enable: true
|
||
Port: 12213
|
||
|
||
# 日志记录(Level:0-debug 1-info 2-warn 3-error 4-fatal)
|
||
Log:
|
||
Name: feed
|
||
Level: 1
|
||
Dir: logs/feed
|
||
Console: false
|
||
File: true
|
||
|
||
# 微服务调用密钥
|
||
SecretKey: CHANGE_ME
|