fix version 1
This commit is contained in:
@@ -1,45 +1,35 @@
|
||||
Name: {ServiceKey}
|
||||
ListenOn: 0.0.0.0:12212
|
||||
Service: feed
|
||||
Port: 12212
|
||||
|
||||
Dsn: postgres://postgres:CHANGE_ME@47.108.57.74:5432/milu?sslmode=disable&TimeZone=Asia/Shanghai
|
||||
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:Weidong1214@139.159.232.50:6379/12,代表DB12
|
||||
# Cache: redis://null:YouMake!*@139.159.232.50:6379/
|
||||
# DB库设置例:redis://null:CHANGE_ME@139.159.232.50:6379/12,代表DB12
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
#Etcd:
|
||||
# Hosts:
|
||||
# - 127.0.0.1:2379
|
||||
# Key: service.{Workspace}.{ServiceKey}.rpc
|
||||
Etcd:
|
||||
Endpoints:
|
||||
- "127.0.0.1:2379"
|
||||
|
||||
# 匿名访问清单,自动注入网关层
|
||||
Anonymous:
|
||||
Key: anonymous.{Workspace}
|
||||
Urls:
|
||||
- pb.Check.Hello
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
Enable: false
|
||||
|
||||
# 日志记录
|
||||
# Gateway 设置
|
||||
Gateway:
|
||||
Enable: true
|
||||
Port: 12213
|
||||
|
||||
# 日志记录(Level:0-debug 1-info 2-warn 3-error 4-fatal)
|
||||
Log:
|
||||
ServiceName: {ServiceKey}
|
||||
Mode: file
|
||||
Path: logs/{ServiceKey}
|
||||
Stat: false
|
||||
Name: feed
|
||||
Level: 0
|
||||
Dir: logs/feed
|
||||
Console: true
|
||||
File: true
|
||||
|
||||
# 性能监控
|
||||
Prometheus:
|
||||
Host: 127.0.0.1
|
||||
Port: 22212
|
||||
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}
|
||||
# 微服务调用密钥
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
@@ -1,44 +1,34 @@
|
||||
Name: {ServiceKey}
|
||||
ListenOn: 0.0.0.0:12212
|
||||
Service: feed
|
||||
Port: 12212
|
||||
|
||||
Dsn: postgres://prod:MakeW2023~PROD@192.168.0.224:5432/scf?sslmode=disable&TimeZone=Asia/Shanghai
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- postgres://prod:CHANGE_ME@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/
|
||||
Cache: redis://null:CHANGE_ME@192.168.0.43:6379/
|
||||
|
||||
Etcd:
|
||||
Hosts:
|
||||
- 192.168.0.83:2379
|
||||
Key: service.{Workspace}.{ServiceKey}.rpc
|
||||
Endpoints:
|
||||
- "192.168.0.83:2379"
|
||||
|
||||
# 匿名访问清单,自动注入网关层
|
||||
Anonymous:
|
||||
Key: anonymous.{Workspace}
|
||||
Urls:
|
||||
- initialize.Check.Hello
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
Enable: false
|
||||
|
||||
# 日志记录
|
||||
# Gateway 设置
|
||||
Gateway:
|
||||
Enable: true
|
||||
Port: 12213
|
||||
|
||||
# 日志记录(Level:0-debug 1-info 2-warn 3-error 4-fatal)
|
||||
Log:
|
||||
ServiceName: {ServiceKey}
|
||||
Mode: file
|
||||
Path: logs/{ServiceKey}
|
||||
Stat: false
|
||||
Name: feed
|
||||
Level: 1
|
||||
Dir: logs/feed
|
||||
Console: false
|
||||
File: true
|
||||
|
||||
# 性能监控
|
||||
Prometheus:
|
||||
Host: 127.0.0.1
|
||||
Port: 22212
|
||||
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}
|
||||
# 微服务调用密钥
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
@@ -1,45 +1,34 @@
|
||||
Name: {ServiceKey}
|
||||
ListenOn: 0.0.0.0:12212
|
||||
Service: feed
|
||||
Port: 12212
|
||||
|
||||
Dsn: postgres://postgres:CHANGE_ME@47.108.57.74:5432/milu?sslmode=disable&TimeZone=Asia/Shanghai
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- postgres://postgres:CHANGE_ME@127.0.0.1:5432/bsm_test?sslmode=disable&TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
# DB库设置例:redis://null:Weidong1214@139.159.232.50:6379/12,代表DB12
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
Etcd:
|
||||
Hosts:
|
||||
- 127.0.0.1:2379
|
||||
Key: service.{Workspace}.{ServiceKey}.rpc
|
||||
Endpoints:
|
||||
- "127.0.0.1:2379"
|
||||
|
||||
# 匿名访问清单,自动注入网关层
|
||||
Anonymous:
|
||||
Key: anonymous.{Workspace}
|
||||
Urls:
|
||||
- pb.Check.Hello
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
Enable: false
|
||||
|
||||
# 日志记录
|
||||
# Gateway 设置
|
||||
Gateway:
|
||||
Enable: true
|
||||
Port: 12213
|
||||
|
||||
# 日志记录(Level:0-debug 1-info 2-warn 3-error 4-fatal)
|
||||
Log:
|
||||
ServiceName: {ServiceKey}
|
||||
Mode: file
|
||||
Path: logs/{ServiceKey}
|
||||
Stat: false
|
||||
Name: feed
|
||||
Level: 0
|
||||
Dir: logs/feed
|
||||
Console: true
|
||||
File: true
|
||||
|
||||
# 性能监控
|
||||
Prometheus:
|
||||
Host: 127.0.0.1
|
||||
Port: 22212
|
||||
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}
|
||||
# 微服务调用密钥
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
Reference in New Issue
Block a user