mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-09 16:02:14 +08:00
Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
This commit is contained in:
parent
3602921697
commit
0267fec106
@ -1,13 +1,13 @@
|
||||
env: zookeeper
|
||||
rpcRegisterName:
|
||||
User: User
|
||||
Friend: Friend
|
||||
Msg: Msg
|
||||
Push: Push
|
||||
MessageGateway: MessageGateway
|
||||
Group: Group
|
||||
Auth: Auth
|
||||
Conversation: Conversation
|
||||
Third: Third
|
||||
user: User
|
||||
friend: Friend
|
||||
msg: Msg
|
||||
push: Push
|
||||
messageGateway: MessageGateway
|
||||
group: Group
|
||||
auth: Auth
|
||||
conversation: Conversation
|
||||
third: Third
|
||||
|
||||
|
||||
|
||||
@ -323,6 +323,21 @@ type WebhookConfig struct {
|
||||
FailedContinue bool `mapstructure:"failedContinue"`
|
||||
}
|
||||
|
||||
type Share struct {
|
||||
Env string `mapstructure:"env"`
|
||||
RpcRegisterName struct {
|
||||
User string `mapstructure:"user"`
|
||||
Friend string `mapstructure:"friend"`
|
||||
Msg string `mapstructure:"msg"`
|
||||
Push string `mapstructure:"push"`
|
||||
MessageGateway string `mapstructure:"messageGateway"`
|
||||
Group string `mapstructure:"group"`
|
||||
Auth string `mapstructure:"auth"`
|
||||
Conversation string `mapstructure:"conversation"`
|
||||
Third string `mapstructure:"third"`
|
||||
} `mapstructure:"rpcRegisterName"`
|
||||
}
|
||||
|
||||
type Webhooks struct {
|
||||
URL string `mapstructure:"url"`
|
||||
BeforeSendSingleMsg WebhookConfig `mapstructure:"beforeSendSingleMsg"`
|
||||
@ -380,18 +395,6 @@ type ZooKeeper struct {
|
||||
Address []string `mapstructure:"address"`
|
||||
Username string `mapstructure:"username"`
|
||||
Password string `mapstructure:"password"`
|
||||
Env string `mapstructure:"env"`
|
||||
RpcRegisterName struct {
|
||||
User string `mapstructure:"User"`
|
||||
Friend string `mapstructure:"Friend"`
|
||||
Msg string `mapstructure:"Msg"`
|
||||
Push string `mapstructure:"Push"`
|
||||
MessageGateway string `mapstructure:"MessageGateway"`
|
||||
Group string `mapstructure:"Group"`
|
||||
Auth string `mapstructure:"Auth"`
|
||||
Conversation string `mapstructure:"Conversation"`
|
||||
Third string `mapstructure:"Third"`
|
||||
} `mapstructure:"rpcRegisterName"`
|
||||
}
|
||||
|
||||
func (m *Mongo) Build() *mongoutil.Config {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user