Files
full/module/social/feed/etc/feed_dev.yaml
2026-09-22 21:15:34 +08:00

36 lines
715 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Service: feed
Port: 12212
Databases:
Driver: postgres
Source:
- postgres://postgres:CHANGE_ME@127.0.0.1:5432/bsm_dev?sslmode=disable&TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
# DB库设置例:redis://null:CHANGE_ME@139.159.232.50:6379/12,代表DB12
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
Etcd:
Endpoints:
- "127.0.0.1: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: 0
Dir: logs/feed
Console: true
File: true
# 微服务调用密钥
SecretKey: CHANGE_ME