43 lines
632 B
YAML
43 lines
632 B
YAML
|
Name: member.rpc
|
||
|
ListenOn: 0.0.0.0:8080
|
||
|
Etcd:
|
||
|
Hosts:
|
||
|
- 127.0.0.1:2379
|
||
|
Key: member.rpc
|
||
|
|
||
|
Cache:
|
||
|
- Host: 127.0.0.1:6379
|
||
|
type: node
|
||
|
CacheExpireTime: 1s
|
||
|
CacheWithNotFoundExpiry: 1s
|
||
|
|
||
|
Mongo:
|
||
|
Schema: mongodb
|
||
|
Host: 127.0.0.1
|
||
|
User: "admin"
|
||
|
Password: "123"
|
||
|
Port: "27017"
|
||
|
Database: digimon_member
|
||
|
ReplicaName: "rs0"
|
||
|
MaxStaleness: 30m
|
||
|
MaxPoolSize: 30
|
||
|
MinPoolSize: 10
|
||
|
MaxConnIdleTime: 30m
|
||
|
Compressors:
|
||
|
- f
|
||
|
EnableStandardReadWriteSplitMode: true
|
||
|
ConnectTimeoutMs : 300
|
||
|
|
||
|
Bcrypt:
|
||
|
Cost: 10
|
||
|
|
||
|
GoogleAuth:
|
||
|
ClientID:
|
||
|
AuthURL:
|
||
|
|
||
|
LineAuth:
|
||
|
ClientID :
|
||
|
ClientSecret :
|
||
|
RedirectURI :
|
||
|
|
||
|
Host: 127.0.0.1
|