refactor: reorganize modules and add Linux build tooling
This commit is contained in:
48
module/base/feedback/etc/feedback_prod.yaml
Normal file
48
module/base/feedback/etc/feedback_prod.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
Name: {ServiceKey}
|
||||
ListenOn: 0.0.0.0:12210
|
||||
|
||||
Dsn: postgres://prod:MakeW2023~PROD@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:
|
||||
Hosts:
|
||||
- 192.168.0.83:2379
|
||||
Key: service.{Workspace}.{ServiceKey}.rpc
|
||||
|
||||
# 匿名访问清单,自动注入网关层
|
||||
Anonymous:
|
||||
Key: anonymous.{Workspace}
|
||||
Urls:
|
||||
- feedback.Check.Hello
|
||||
- feedback.Check.Updates
|
||||
- feedback.Data.Configure
|
||||
- feedback.Data.Areas
|
||||
- feedback.Data.Tags
|
||||
|
||||
# 日志记录
|
||||
Log:
|
||||
ServiceName: {ServiceKey}
|
||||
Mode: file
|
||||
Path: logs/{ServiceKey}
|
||||
Stat: false
|
||||
|
||||
# 性能监控
|
||||
Prometheus:
|
||||
Host: 127.0.0.1
|
||||
Port: 22210
|
||||
Path: /metrics
|
||||
|
||||
# 链路追踪
|
||||
Telemetry:
|
||||
Name: {Workspace}.{ServiceKey}.{RuntimeMode}
|
||||
Endpoint: http://139.159.232.50:14268/api/traces
|
||||
Sampler: 1.0
|
||||
Batcher: jaeger
|
||||
|
||||
# MQ Pulsar
|
||||
#Pulsar:
|
||||
# Endpoints: 127.0.0.1
|
||||
# Token: 9091
|
||||
# Namespaces: {Workspace}
|
||||
Reference in New Issue
Block a user