All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15m24s
40 lines
768 B
YAML
40 lines
768 B
YAML
Name: gallery.rpc
|
|
ListenOn: 0.0.0.0:50000
|
|
Mode: dev
|
|
|
|
DB:
|
|
DataSource: postgres://postgres:postgres@localhost:19732/godemo?sslmode=disable
|
|
MaxOpenConns: 100
|
|
MaxIdleConns: 20
|
|
ConnMaxLifetime: 3600
|
|
|
|
Etcd:
|
|
Hosts:
|
|
- 127.0.0.1:2379
|
|
Key: gallery.rpc
|
|
|
|
FileRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- 127.0.0.1:2379
|
|
Key: file.rpc
|
|
|
|
CategoryRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- 127.0.0.1:2379
|
|
Key: category.rpc
|
|
|
|
BucketName: gallery
|
|
|
|
Log:
|
|
ServiceName: gallery-rpc-service
|
|
Mode: console # 日志输出模式,支持 console 和 file
|
|
Encoding: plain # 日志格式,支持 json 和 plain
|
|
Path: ./logs
|
|
Level: debug # 日志等级,支持 debug,info,error,severe
|
|
MaxSize: 10 # MB
|
|
KeepDays: 30 # 天
|
|
MaxBackups: 3
|
|
Compress: false
|