Files
full/module/social/feed/etc/feed_prod.yaml

35 lines
640 B
YAML
Raw Normal View History

2026-09-22 21:15:34 +08:00
Service: feed
Port: 12212
2026-09-22 21:15:34 +08:00
Databases:
Driver: postgres
Source:
- postgres://prod:CHANGE_ME@192.168.0.224:5432/scf?sslmode=disable&TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
2026-09-22 21:15:34 +08:00
Cache: redis://null:CHANGE_ME@192.168.0.43:6379/
Etcd:
2026-09-22 21:15:34 +08:00
Endpoints:
- "192.168.0.83:2379"
2026-09-22 21:15:34 +08:00
# 微服务设置
MicroService:
Enable: false
2026-09-22 21:15:34 +08:00
# Gateway 设置
Gateway:
Enable: true
Port: 12213
2026-09-22 21:15:34 +08:00
# 日志记录(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