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

36 lines
715 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://postgres:CHANGE_ME@127.0.0.1:5432/bsm_dev?sslmode=disable&TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
2026-09-22 21:15:34 +08:00
# DB库设置例:redis://null:CHANGE_ME@139.159.232.50:6379/12,代表DB12
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
2026-09-22 21:15:34 +08:00
Etcd:
Endpoints:
- "127.0.0.1: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: 0
Dir: logs/feed
Console: true
File: true
# 微服务调用密钥
SecretKey: CHANGE_ME