mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
* updated aws-sdk dependency to aws-sdk-go-v2 * simplify error handling in case of timeout errors --------- Co-authored-by: Mattermost Build <build@mattermost.com>
458 lines
16 KiB
JSON
458 lines
16 KiB
JSON
{
|
|
"ServiceSettings": {
|
|
"SiteURL": "http://localhost:8065",
|
|
"WebsocketURL": "",
|
|
"LicenseFileLocation": "",
|
|
"ListenAddress": ":8065",
|
|
"ConnectionSecurity": "",
|
|
"TLSCertFile": "",
|
|
"TLSKeyFile": "",
|
|
"TLSMinVer": "1.2",
|
|
"TLSStrictTransport": false,
|
|
"TLSStrictTransportMaxAge": 63072000,
|
|
"TLSOverwriteCiphers": [],
|
|
"UseLetsEncrypt": false,
|
|
"LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache",
|
|
"Forward80To443": false,
|
|
"TrustedProxyIPHeader": [],
|
|
"ReadTimeout": 300,
|
|
"WriteTimeout": 300,
|
|
"IdleTimeout": 300,
|
|
"MaximumLoginAttempts": 10,
|
|
"GoroutineHealthThreshold": -1,
|
|
"EnableOAuthServiceProvider": false,
|
|
"EnableIncomingWebhooks": true,
|
|
"EnableOutgoingWebhooks": true,
|
|
"EnableCommands": true,
|
|
"EnablePostUsernameOverride": false,
|
|
"EnablePostIconOverride": false,
|
|
"GoogleDeveloperKey": "",
|
|
"EnableLinkPreviews": false,
|
|
"EnablePermalinkPreviews": true,
|
|
"RestrictLinkPreviews": "",
|
|
"EnableTesting": false,
|
|
"EnableDeveloper": false,
|
|
"DeveloperFlags": "",
|
|
"EnableClientPerformanceDebugging": false,
|
|
"EnableSecurityFixAlert": false,
|
|
"EnableInsecureOutgoingConnections": false,
|
|
"AllowedUntrustedInternalConnections": "localhost",
|
|
"EnableMultifactorAuthentication": false,
|
|
"EnforceMultifactorAuthentication": false,
|
|
"EnableUserAccessTokens": false,
|
|
"AllowCorsFrom": "",
|
|
"CorsExposedHeaders": "",
|
|
"CorsAllowCredentials": false,
|
|
"CorsDebug": false,
|
|
"AllowCookiesForSubdomains": false,
|
|
"ExtendSessionLengthWithActivity": true,
|
|
"SessionLengthWebInDays": 30,
|
|
"SessionLengthWebInHours": 720,
|
|
"SessionLengthMobileInDays": 30,
|
|
"SessionLengthMobileInHours": 720,
|
|
"SessionLengthSSOInDays": 30,
|
|
"SessionLengthSSOInHours": 720,
|
|
"SessionCacheInMinutes": 10,
|
|
"SessionIdleTimeoutInMinutes": 43200,
|
|
"WebsocketSecurePort": 443,
|
|
"WebsocketPort": 80,
|
|
"WebserverMode": "gzip",
|
|
"EnableGifPicker": false,
|
|
"GiphySdkKey": "s0glxvzVg9azvPipKxcPLpXV0q1x1fVP",
|
|
"EnableCustomEmoji": false,
|
|
"EnableEmojiPicker": true,
|
|
"PostEditTimeLimit": -1,
|
|
"TimeBetweenUserTypingUpdatesMilliseconds": 5000,
|
|
"EnablePostSearch": true,
|
|
"EnableFileSearch": true,
|
|
"MinimumHashtagLength": 3,
|
|
"EnableUserTypingMessages": true,
|
|
"EnableChannelViewedMessages": true,
|
|
"EnableUserStatuses": true,
|
|
"ExperimentalEnableAuthenticationTransfer": true,
|
|
"ClusterLogTimeoutMilliseconds": 2000,
|
|
"EnableTutorial": true,
|
|
"EnableOnboardingFlow": false,
|
|
"ExperimentalEnableDefaultChannelLeaveJoinMessages": true,
|
|
"ExperimentalGroupUnreadChannels": "disabled",
|
|
"EnableAPITeamDeletion": true,
|
|
"EnableAPITriggerAdminNotifications": false,
|
|
"EnableAPIUserDeletion": false,
|
|
"ExperimentalEnableHardenedMode": false,
|
|
"ExperimentalStrictCSRFEnforcement": false,
|
|
"EnableEmailInvitations": true,
|
|
"DisableBotsWhenOwnerIsDeactivated": true,
|
|
"EnableBotAccountCreation": true,
|
|
"EnableSVGs": true,
|
|
"EnableLatex": false,
|
|
"EnableInlineLatex": true,
|
|
"PostPriority": true,
|
|
"AllowPersistentNotifications": true,
|
|
"AllowPersistentNotificationsForGuests": false,
|
|
"PersistentNotificationIntervalMinutes": 5,
|
|
"PersistentNotificationMaxCount": 6,
|
|
"PersistentNotificationMaxRecipients": 5,
|
|
"EnableAPIChannelDeletion": false,
|
|
"EnableLocalMode": false,
|
|
"LocalModeSocketLocation": "/var/tmp/mattermost_local.socket",
|
|
"EnableAWSMetering": false,
|
|
"AWSMeteringTimeoutSeconds": 30,
|
|
"SplitKey": "",
|
|
"FeatureFlagSyncIntervalSeconds": 30,
|
|
"DebugSplit": false,
|
|
"ThreadAutoFollow": true,
|
|
"CollapsedThreads": "disabled",
|
|
"ManagedResourcePaths": "",
|
|
"EnableCustomGroups": true,
|
|
"AllowSyncedDrafts": true,
|
|
"UniqueEmojiReactionLimitPerPost": 50,
|
|
"RefreshPostStatsRunTime": "00:00",
|
|
"MaximumPayloadSizeBytes": 100000,
|
|
"MaximumURLLength": 2048
|
|
},
|
|
"TeamSettings": {
|
|
"SiteName": "Mattermost",
|
|
"MaxUsersPerTeam": 2000,
|
|
"EnableJoinLeaveMessageByDefault": true,
|
|
"EnableUserCreation": true,
|
|
"EnableOpenServer": true,
|
|
"EnableUserDeactivation": false,
|
|
"RestrictCreationToDomains": "",
|
|
"EnableCustomUserStatuses": true,
|
|
"EnableCustomBrand": false,
|
|
"CustomBrandText": "",
|
|
"CustomDescriptionText": "",
|
|
"RestrictDirectMessage": "any",
|
|
"EnableLastActiveTime": true,
|
|
"UserStatusAwayTimeout": 300,
|
|
"MaxChannelsPerTeam": 2000,
|
|
"MaxNotificationsPerChannel": 1000,
|
|
"EnableConfirmNotificationsToChannel": true,
|
|
"TeammateNameDisplay": "username",
|
|
"ExperimentalEnableAutomaticReplies": false,
|
|
"LockTeammateNameDisplay": false,
|
|
"ExperimentalPrimaryTeam": "",
|
|
"ExperimentalDefaultChannels": []
|
|
},
|
|
"ClientRequirements": {
|
|
"AndroidLatestVersion": "",
|
|
"AndroidMinVersion": "",
|
|
"IosLatestVersion": "",
|
|
"IosMinVersion": ""
|
|
},
|
|
"PasswordSettings": {
|
|
"MinimumLength": 5,
|
|
"Lowercase": false,
|
|
"Number": false,
|
|
"Uppercase": false,
|
|
"Symbol": false,
|
|
"EnableForgotLink": true
|
|
},
|
|
"EmailSettings": {
|
|
"EnableSignUpWithEmail": true,
|
|
"EnableSignInWithEmail": true,
|
|
"EnableSignInWithUsername": true,
|
|
"SendEmailNotifications": true,
|
|
"UseChannelInEmailNotifications": false,
|
|
"RequireEmailVerification": false,
|
|
"FeedbackName": "",
|
|
"FeedbackEmail": "test@example.com",
|
|
"ReplyToAddress": "test@example.com",
|
|
"FeedbackOrganization": "",
|
|
"EnableSMTPAuth": false,
|
|
"SMTPUsername": "",
|
|
"SMTPPassword": "",
|
|
"SMTPServer": "localhost",
|
|
"SMTPPort": "10025",
|
|
"SMTPServerTimeout": 10,
|
|
"ConnectionSecurity": "",
|
|
"SendPushNotifications": true,
|
|
"PushNotificationServer": "https://push-test.mattermost.com",
|
|
"PushNotificationContents": "generic",
|
|
"PushNotificationBuffer": 1000,
|
|
"EnableEmailBatching": false,
|
|
"EmailBatchingBufferSize": 256,
|
|
"EmailBatchingInterval": 30,
|
|
"EnablePreviewModeBanner": true,
|
|
"SkipServerCertificateVerification": false,
|
|
"EmailNotificationContentsType": "full",
|
|
"LoginButtonColor": "#0000",
|
|
"LoginButtonBorderColor": "#2389D7",
|
|
"LoginButtonTextColor": "#2389D7"
|
|
},
|
|
"PrivacySettings": {
|
|
"ShowEmailAddress": true,
|
|
"ShowFullName": true
|
|
},
|
|
"SupportSettings": {
|
|
"TermsOfServiceLink": "https://mattermost.com/pl/terms-of-use/",
|
|
"PrivacyPolicyLink": "https://mattermost.com/pl/privacy-policy/",
|
|
"AboutLink": "https://mattermost.com/pl/about-mattermost",
|
|
"HelpLink": "https://mattermost.com/pl/help/",
|
|
"ReportAProblemLink": "https://mattermost.com/pl/report-a-bug",
|
|
"ReportAProblemType": "link",
|
|
"ForgotPasswordLink": "",
|
|
"SupportEmail": "",
|
|
"CustomTermsOfServiceEnabled": false,
|
|
"CustomTermsOfServiceReAcceptancePeriod": 365,
|
|
"EnableAskCommunityLink": true
|
|
},
|
|
"AnnouncementSettings": {
|
|
"EnableBanner": false,
|
|
"BannerText": "",
|
|
"BannerColor": "#f2a93b",
|
|
"BannerTextColor": "#333333",
|
|
"AllowBannerDismissal": true,
|
|
"AdminNoticesEnabled": false,
|
|
"UserNoticesEnabled": false,
|
|
"NoticesURL": "https://notices.mattermost.com/",
|
|
"NoticesFetchFrequency": 3600,
|
|
"NoticesSkipCache": false
|
|
},
|
|
"ThemeSettings": {
|
|
"EnableThemeSelection": true,
|
|
"DefaultTheme": "default",
|
|
"AllowCustomThemes": true,
|
|
"AllowedThemes": []
|
|
},
|
|
"GitLabSettings": {
|
|
"Enable": false,
|
|
"Secret": "",
|
|
"Id": "",
|
|
"Scope": "",
|
|
"AuthEndpoint": "",
|
|
"TokenEndpoint": "",
|
|
"UserAPIEndpoint": "",
|
|
"DiscoveryEndpoint": "",
|
|
"ButtonText": "",
|
|
"ButtonColor": ""
|
|
},
|
|
"GoogleSettings": {
|
|
"Enable": false,
|
|
"Secret": "",
|
|
"Id": "",
|
|
"Scope": "profile email",
|
|
"AuthEndpoint": "https://accounts.google.com/o/oauth2/v2/auth",
|
|
"TokenEndpoint": "https://www.googleapis.com/oauth2/v4/token",
|
|
"UserAPIEndpoint": "https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata",
|
|
"DiscoveryEndpoint": "",
|
|
"ButtonText": "",
|
|
"ButtonColor": ""
|
|
},
|
|
"Office365Settings": {
|
|
"Enable": false,
|
|
"Secret": "",
|
|
"Id": "",
|
|
"Scope": "User.Read",
|
|
"AuthEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
|
|
"TokenEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
|
|
"UserAPIEndpoint": "https://graph.microsoft.com/v1.0/me",
|
|
"DiscoveryEndpoint": "",
|
|
"DirectoryId": ""
|
|
},
|
|
"OpenIdSettings": {
|
|
"Enable": false,
|
|
"Secret": "",
|
|
"Id": "",
|
|
"Scope": "profile openid email",
|
|
"AuthEndpoint": "",
|
|
"TokenEndpoint": "",
|
|
"UserAPIEndpoint": "",
|
|
"DiscoveryEndpoint": "",
|
|
"ButtonText": "",
|
|
"ButtonColor": "#145DBF"
|
|
},
|
|
"LdapSettings": {
|
|
"Enable": true,
|
|
"EnableSync": false,
|
|
"LdapServer": "localhost",
|
|
"LdapPort": 389,
|
|
"ConnectionSecurity": "",
|
|
"BaseDN": "dc=mm,dc=test,dc=com",
|
|
"BindUsername": "cn=admin,dc=mm,dc=test,dc=com",
|
|
"BindPassword": "mostest",
|
|
"UserFilter": "",
|
|
"GroupFilter": "",
|
|
"GuestFilter": "",
|
|
"EnableAdminFilter": false,
|
|
"AdminFilter": "",
|
|
"GroupDisplayNameAttribute": "cn",
|
|
"GroupIdAttribute": "entryUUID",
|
|
"FirstNameAttribute": "cn",
|
|
"LastNameAttribute": "sn",
|
|
"EmailAttribute": "mail",
|
|
"UsernameAttribute": "uid",
|
|
"NicknameAttribute": "cn",
|
|
"IdAttribute": "uid",
|
|
"PositionAttribute": "sAMAccountType",
|
|
"LoginIdAttribute": "uid",
|
|
"PictureAttribute": "",
|
|
"SyncIntervalMinutes": 10000,
|
|
"SkipCertificateVerification": true,
|
|
"PublicCertificateFile": "",
|
|
"PrivateKeyFile": "",
|
|
"QueryTimeout": 60,
|
|
"MaxPageSize": 500,
|
|
"LoginFieldName": "",
|
|
"LoginButtonColor": "#0000",
|
|
"LoginButtonBorderColor": "#2389D7",
|
|
"LoginButtonTextColor": "#2389D7"
|
|
},
|
|
"ComplianceSettings": {
|
|
"Enable": false,
|
|
"Directory": "./data/",
|
|
"EnableDaily": false,
|
|
"BatchSize": 30000
|
|
},
|
|
"LocalizationSettings": {
|
|
"DefaultServerLocale": "en",
|
|
"DefaultClientLocale": "en",
|
|
"AvailableLocales": ""
|
|
},
|
|
"SamlSettings": {
|
|
"Enable": false,
|
|
"EnableSyncWithLdap": false,
|
|
"EnableSyncWithLdapIncludeAuth": false,
|
|
"IgnoreGuestsLdapSync": false,
|
|
"Verify": true,
|
|
"Encrypt": true,
|
|
"SignRequest": false,
|
|
"IdpURL": "",
|
|
"IdpDescriptorURL": "",
|
|
"IdpMetadataURL": "",
|
|
"ServiceProviderIdentifier": "",
|
|
"AssertionConsumerServiceURL": "",
|
|
"SignatureAlgorithm": "RSAwithSHA1",
|
|
"CanonicalAlgorithm": "Canonical1.0",
|
|
"ScopingIDPProviderId": "",
|
|
"ScopingIDPName": "",
|
|
"IdpCertificateFile": "saml-idp.crt",
|
|
"PublicCertificateFile": "saml-public.crt",
|
|
"PrivateKeyFile": "saml-private.key",
|
|
"IdAttribute": "",
|
|
"GuestAttribute": "",
|
|
"EnableAdminAttribute": false,
|
|
"AdminAttribute": "",
|
|
"FirstNameAttribute": "",
|
|
"LastNameAttribute": "",
|
|
"EmailAttribute": "Email",
|
|
"UsernameAttribute": "Username",
|
|
"NicknameAttribute": "",
|
|
"LocaleAttribute": "",
|
|
"PositionAttribute": "",
|
|
"LoginButtonText": "SAML",
|
|
"LoginButtonColor": "#34a28b",
|
|
"LoginButtonBorderColor": "#2389D7",
|
|
"LoginButtonTextColor": "#ffffff"
|
|
},
|
|
"NativeAppSettings": {
|
|
"AppCustomURLSchemes": [
|
|
"mmauth://",
|
|
"mmauthbeta://"
|
|
],
|
|
"AppDownloadLink": "https://mattermost.com/pl/download-apps",
|
|
"AndroidAppDownloadLink": "https://mattermost.com/pl/android-app/",
|
|
"IosAppDownloadLink": "https://mattermost.com/pl/ios-app/"
|
|
},
|
|
"ClusterSettings": {
|
|
"Enable": false
|
|
},
|
|
"ExperimentalSettings": {
|
|
"RestrictSystemAdmin": true
|
|
},
|
|
"AnalyticsSettings": {
|
|
"MaxUsersForStatistics": 2500
|
|
},
|
|
"DataRetentionSettings": {
|
|
"EnableMessageDeletion": false,
|
|
"EnableFileDeletion": false,
|
|
"EnableBoardsDeletion": false,
|
|
"MessageRetentionDays": 365,
|
|
"MessageRetentionHours": 0,
|
|
"FileRetentionDays": 365,
|
|
"FileRetentionHours": 0,
|
|
"BoardsRetentionDays": 365,
|
|
"DeletionJobStartTime": "02:00",
|
|
"BatchSize": 3000,
|
|
"TimeBetweenBatchesMilliseconds": 100,
|
|
"RetentionIdsBatchSize": 100
|
|
},
|
|
"MessageExportSettings": {
|
|
"EnableExport": false,
|
|
"ExportFormat": "actiance",
|
|
"DailyRunTime": "01:00",
|
|
"ExportFromTimestamp": 0,
|
|
"BatchSize": 10000,
|
|
"DownloadExportResults": false,
|
|
"GlobalRelaySettings": {
|
|
"CustomerType": "A9",
|
|
"SMTPUsername": "",
|
|
"SMTPPassword": "",
|
|
"EmailAddress": "",
|
|
"SMTPServerTimeout": 1800,
|
|
"CustomSMTPServerName": "",
|
|
"CustomSMTPPort": "25"
|
|
}
|
|
},
|
|
"PluginSettings": {
|
|
"Enable": true,
|
|
"EnableUploads": true,
|
|
"AllowInsecureDownloadURL": false,
|
|
"EnableHealthCheck": true,
|
|
"Directory": "./plugins",
|
|
"ClientDirectory": "./client/plugins",
|
|
"Plugins": {},
|
|
"PluginStates": {
|
|
"com.mattermost.calls": {
|
|
"Enable": false
|
|
},
|
|
"com.mattermost.nps": {
|
|
"Enable": false
|
|
},
|
|
"playbooks": {
|
|
"Enable": true
|
|
}
|
|
},
|
|
"EnableMarketplace": true,
|
|
"EnableRemoteMarketplace": true,
|
|
"AutomaticPrepackagedPlugins": true,
|
|
"RequirePluginSignature": false,
|
|
"MarketplaceURL": "https://api.integrations.mattermost.com",
|
|
"SignaturePublicKeyFiles": [],
|
|
"ChimeraOAuthProxyURL": ""
|
|
},
|
|
"DisplaySettings": {
|
|
"CustomURLSchemes": [],
|
|
"MaxMarkdownNodes": 0
|
|
},
|
|
"GuestAccountsSettings": {
|
|
"Enable": true,
|
|
"HideTags": false,
|
|
"AllowEmailAccounts": true,
|
|
"EnforceMultifactorAuthentication": false,
|
|
"RestrictCreationToDomains": ""
|
|
},
|
|
"ImageProxySettings": {
|
|
"Enable": true,
|
|
"ImageProxyType": "local",
|
|
"RemoteImageProxyURL": "",
|
|
"RemoteImageProxyOptions": ""
|
|
},
|
|
"ImportSettings": {
|
|
"Directory": "./import",
|
|
"RetentionDays": 30
|
|
},
|
|
"ExportSettings": {
|
|
"Directory": "./export",
|
|
"RetentionDays": 30
|
|
},
|
|
"WranglerSettings": {
|
|
"PermittedWranglerRoles": [],
|
|
"AllowedEmailDomain": [],
|
|
"MoveThreadMaxCount": 100,
|
|
"MoveThreadToAnotherTeamEnable": false,
|
|
"MoveThreadFromPrivateChannelEnable": false,
|
|
"MoveThreadFromDirectMessageChannelEnable": false,
|
|
"MoveThreadFromGroupMessageChannelEnable": false
|
|
}
|
|
}
|