This commit is contained in:
daniel.w 2024-08-22 22:25:24 +08:00
parent fc547508a4
commit 0ce0286da7
1 changed files with 37 additions and 0 deletions

37
etc/service.example.yaml Normal file
View File

@ -0,0 +1,37 @@
Name: member.rpc
ListenOn: 0.0.0.0:8080
Etcd:
Hosts:
- 127.0.0.1:2379
Key: member.rpc
DB:
DsnString: root:yytt@tcp(127.0.0.1:3306)/ark_member?charset=utf8mb4&parseTime=true&loc=Asia%2FTaipei
Cache:
- Host: 127.0.0.1:7001
type: cluster
- Host: 127.0.0.1:7002
type: cluster
- Host: 127.0.0.1:7003
type: cluster
- Host: 127.0.0.1:7004
type: cluster
- Host: 127.0.0.1:7005
type: cluster
- Host: 127.0.0.1:7006
type: cluster
Bcrypt:
Cost: 10
RedisCluster:
Host: 127.0.0.1:7001
Type: cluster
Mongo:
Schema: mongodb
Host: 127.0.0.1
User: ""
Password: ""
Port: "27017"
Database: digimon_member
Collection: count