Files
full/module/base/initial/etc/initial_test.yaml
2026-09-22 21:15:34 +08:00

43 lines
1.0 KiB
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: initial
Port: 12101
Databases:
Driver: postgres
Source:
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
Enable: false
# 匿名清单需与已注册的 gRPC 方法名一致(格式为“服务名.方法名”);
# 以下 6 个接口均为客户端启动阶段必须可用的只读接口,故保留匿名
Anonymous:
- Check.Hello
- Check.Config
- Check.Updates
- Data.Country
- Data.Areas
- Data.Datas
# Gateway 设置
Gateway:
Enable: true
Port: 12102
# 微服务调用密钥
SecretKey: CHANGE_ME
# Rpc:
# fts:
# Endpoint: https://api-v2.traingo.cn/fts/v2
# SecretKey: 4ef05311358cd1c8f787281f08b38b1c
# 链路追踪,性能监控,日志收集
# APM:
# Platform: elasticAPM
# Endpoint: http://127.0.0.1:14268/api/traces