Optimize Docker configuration and script.

This commit is contained in:
skiffer-git 2024-04-11 15:39:43 +08:00
parent 6c4f8484c8
commit d81cfb99d6
2 changed files with 2 additions and 4 deletions

View File

@ -10,8 +10,6 @@ rpcRegisterName:
auth: auth auth: auth
conversation: conversation conversation: conversation
third: third third: third
imAdmin:
userID: [ "imAdmin" ]
nickname: [ "imAdmin" ]
imAdminUserID: [ "imAdmin" ]

View File

@ -349,7 +349,7 @@ type Share struct {
Secret string `mapstructure:"secret"` Secret string `mapstructure:"secret"`
Env string `mapstructure:"env"` Env string `mapstructure:"env"`
RpcRegisterName RpcRegisterName `mapstructure:"rpcRegisterName"` RpcRegisterName RpcRegisterName `mapstructure:"rpcRegisterName"`
IMAdmin IMAdmin `mapstructure:"imAdmin"` IMAdminUserID []string `mapstructure:"imAdminUserID"`
} }
type RpcRegisterName struct { type RpcRegisterName struct {
User string `mapstructure:"user"` User string `mapstructure:"user"`