Last active
August 22, 2022 07:22
-
-
Save ankush-grover-3pg/585361370464d69448fec84884fa535a to your computer and use it in GitHub Desktop.
Comparing config.json files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- config.json_org 2022-08-22 05:41:09.792233127 +0000 | |
| +++ config.json 2022-08-21 16:28:42.932655057 +0000 | |
| @@ -1,6 +1,6 @@ | |
| { | |
| "ServiceSettings": { | |
| - "SiteURL": "", | |
| + "SiteURL": "https://mmchat.example.com", | |
| "WebsocketURL": "", | |
| "LicenseFileLocation": "", | |
| "ListenAddress": ":8065", | |
| @@ -14,9 +14,12 @@ | |
| "UseLetsEncrypt": false, | |
| "LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache", | |
| "Forward80To443": false, | |
| - "TrustedProxyIPHeader": [], | |
| - "ReadTimeout": 300, | |
| - "WriteTimeout": 300, | |
| + "TrustedProxyIPHeader": [ | |
| + "X-Forwarded-For", | |
| + "X-Real-IP" | |
| + ], | |
| + "ReadTimeout": 900, | |
| + "WriteTimeout": 900, | |
| "IdleTimeout": 60, | |
| "MaximumLoginAttempts": 10, | |
| "GoroutineHealthThreshold": -1, | |
| @@ -24,9 +27,9 @@ | |
| "EnableIncomingWebhooks": true, | |
| "EnableOutgoingWebhooks": true, | |
| "EnableCommands": true, | |
| - "EnablePostUsernameOverride": false, | |
| - "EnablePostIconOverride": false, | |
| - "GoogleDeveloperKey": "", | |
| + "EnablePostUsernameOverride": true, | |
| + "EnablePostIconOverride": true, | |
| + "GoogleDeveloperKey": "xxxxxxx", | |
| "EnableLinkPreviews": true, | |
| "EnablePermalinkPreviews": true, | |
| "RestrictLinkPreviews": "", | |
| @@ -37,10 +40,10 @@ | |
| "EnableOpenTracing": false, | |
| "EnableSecurityFixAlert": true, | |
| "EnableInsecureOutgoingConnections": false, | |
| - "AllowedUntrustedInternalConnections": "", | |
| - "EnableMultifactorAuthentication": false, | |
| + "AllowedUntrustedInternalConnections": "xxxxxxxxxx", | |
| + "EnableMultifactorAuthentication": true, | |
| "EnforceMultifactorAuthentication": false, | |
| - "EnableUserAccessTokens": false, | |
| + "EnableUserAccessTokens": true, | |
| "AllowCorsFrom": "", | |
| "CorsExposedHeaders": "", | |
| "CorsAllowCredentials": false, | |
| @@ -54,11 +57,11 @@ | |
| "SessionLengthSSOInDays": 30, | |
| "SessionLengthSSOInHours": 720, | |
| "SessionCacheInMinutes": 10, | |
| - "SessionIdleTimeoutInMinutes": 43200, | |
| + "SessionIdleTimeoutInMinutes": 0, | |
| "WebsocketSecurePort": 443, | |
| "WebsocketPort": 80, | |
| "WebserverMode": "gzip", | |
| - "EnableGifPicker": true, | |
| + "EnableGifPicker": false, | |
| "GfycatAPIKey": "2_KtH_W5", | |
| "GfycatAPISecret": "xxxxxxxxxxxxxx", | |
| "EnableCustomEmoji": true, | |
| @@ -76,49 +79,49 @@ | |
| "EnablePreviewFeatures": true, | |
| "EnableTutorial": true, | |
| "EnableOnboardingFlow": true, | |
| - "ExperimentalEnableDefaultChannelLeaveJoinMessages": true, | |
| + "ExperimentalEnableDefaultChannelLeaveJoinMessages": false, | |
| "ExperimentalGroupUnreadChannels": "disabled", | |
| "EnableAPITeamDeletion": false, | |
| "EnableAPIUserDeletion": false, | |
| "ExperimentalEnableHardenedMode": false, | |
| "ExperimentalStrictCSRFEnforcement": false, | |
| - "EnableEmailInvitations": false, | |
| + "EnableEmailInvitations": true, | |
| "DisableBotsWhenOwnerIsDeactivated": true, | |
| "EnableBotAccountCreation": false, | |
| - "EnableSVGs": false, | |
| - "EnableLatex": false, | |
| + "EnableSVGs": true, | |
| + "EnableLatex": true, | |
| "EnableInlineLatex": true, | |
| "EnableAPIChannelDeletion": false, | |
| - "EnableLocalMode": false, | |
| + "EnableLocalMode": true, | |
| "LocalModeSocketLocation": "/var/tmp/mattermost_local.socket", | |
| "EnableAWSMetering": false, | |
| "SplitKey": "", | |
| "FeatureFlagSyncIntervalSeconds": 30, | |
| "DebugSplit": false, | |
| "ThreadAutoFollow": true, | |
| - "CollapsedThreads": "always_on", | |
| + "CollapsedThreads": "default_off", | |
| "ManagedResourcePaths": "", | |
| "EnableCustomGroups": true | |
| }, | |
| "TeamSettings": { | |
| - "SiteName": "Mattermost", | |
| - "MaxUsersPerTeam": 50, | |
| + "SiteName": "MM Chat", | |
| + "MaxUsersPerTeam": 4000, | |
| "EnableUserCreation": true, | |
| "EnableOpenServer": false, | |
| "EnableUserDeactivation": false, | |
| - "RestrictCreationToDomains": "", | |
| + "RestrictCreationToDomains": "example.com,xxxxxxx", | |
| "EnableCustomUserStatuses": true, | |
| "EnableCustomBrand": false, | |
| "CustomBrandText": "", | |
| "CustomDescriptionText": "", | |
| - "RestrictDirectMessage": "any", | |
| + "RestrictDirectMessage": "team", | |
| "UserStatusAwayTimeout": 300, | |
| - "MaxChannelsPerTeam": 2000, | |
| - "MaxNotificationsPerChannel": 1000, | |
| + "MaxChannelsPerTeam": 9000, | |
| + "MaxNotificationsPerChannel": 1000000, | |
| "EnableConfirmNotificationsToChannel": true, | |
| "TeammateNameDisplay": "username", | |
| - "ExperimentalViewArchivedChannels": true, | |
| - "ExperimentalEnableAutomaticReplies": false, | |
| + "ExperimentalViewArchivedChannels": false, | |
| + "ExperimentalEnableAutomaticReplies": true, | |
| "LockTeammateNameDisplay": false, | |
| "ExperimentalPrimaryTeam": "", | |
| "ExperimentalDefaultChannels": [] | |
| @@ -130,23 +133,23 @@ | |
| "IosMinVersion": "" | |
| }, | |
| "SqlSettings": { | |
| - "DriverName": "postgres", | |
| - "DataSource": "postgres://mmuser:mostest@localhost/mattermost_test?sslmode=disable\u0026connect_timeout=10\u0026binary_parameters=yes", | |
| + "DriverName": "mysql", | |
| + "DataSource": "mattermost:mattermost@tcp(localhost:3306)/mattermost?charset=utf8mb4,utf8", | |
| "DataSourceReplicas": [], | |
| "DataSourceSearchReplicas": [], | |
| "MaxIdleConns": 20, | |
| "ConnMaxLifetimeMilliseconds": 3600000, | |
| "ConnMaxIdleTimeMilliseconds": 300000, | |
| - "MaxOpenConns": 300, | |
| + "MaxOpenConns": 1000, | |
| "Trace": false, | |
| - "AtRestEncryptKey": "", | |
| + "AtRestEncryptKey": "xxxxxx", | |
| "QueryTimeout": 30, | |
| "DisableDatabaseSearch": false, | |
| "MigrationsStatementTimeoutSeconds": 100000, | |
| "ReplicaLagSettings": [] | |
| }, | |
| "LogSettings": { | |
| - "EnableConsole": true, | |
| + "EnableConsole": false, | |
| "ConsoleLevel": "INFO", | |
| "ConsoleJson": true, | |
| "EnableColor": false, | |
| @@ -171,7 +174,7 @@ | |
| }, | |
| "NotificationLogSettings": { | |
| "EnableConsole": true, | |
| - "ConsoleLevel": "INFO", | |
| + "ConsoleLevel": "DEBUG", | |
| "ConsoleJson": true, | |
| "EnableColor": false, | |
| "EnableFile": true, | |
| @@ -182,32 +185,32 @@ | |
| }, | |
| "PasswordSettings": { | |
| "MinimumLength": 8, | |
| - "Lowercase": false, | |
| - "Number": false, | |
| - "Uppercase": false, | |
| - "Symbol": false | |
| + "Lowercase": true, | |
| + "Number": true, | |
| + "Uppercase": true, | |
| + "Symbol": true | |
| }, | |
| "FileSettings": { | |
| "EnableFileAttachments": true, | |
| "EnableMobileUpload": true, | |
| "EnableMobileDownload": true, | |
| - "MaxFileSize": 104857600, | |
| + "MaxFileSize": 52428800, | |
| "MaxImageResolution": 33177600, | |
| "MaxImageDecoderConcurrency": -1, | |
| "DriverName": "local", | |
| - "Directory": "./data/", | |
| + "Directory": "/opt/mm/data/", | |
| "EnablePublicLink": false, | |
| "ExtractContent": true, | |
| "ArchiveRecursion": false, | |
| - "PublicLinkSalt": "", | |
| - "InitialFont": "nunito-bold.ttf", | |
| + "PublicLinkSalt": "xxxxxxx", | |
| + "InitialFont": "luximbi.ttf", | |
| "AmazonS3AccessKeyId": "", | |
| "AmazonS3SecretAccessKey": "", | |
| "AmazonS3Bucket": "", | |
| "AmazonS3PathPrefix": "", | |
| - "AmazonS3Region": "", | |
| + "AmazonS3Region": "us-east-1", | |
| "AmazonS3Endpoint": "s3.amazonaws.com", | |
| - "AmazonS3SSL": true, | |
| + "AmazonS3SSL": false, | |
| "AmazonS3SignV2": false, | |
| "AmazonS3SSE": false, | |
| "AmazonS3Trace": false, | |
| @@ -216,29 +219,29 @@ | |
| "EmailSettings": { | |
| "EnableSignUpWithEmail": true, | |
| "EnableSignInWithEmail": true, | |
| - "EnableSignInWithUsername": true, | |
| - "SendEmailNotifications": false, | |
| + "EnableSignInWithUsername": false, | |
| + "SendEmailNotifications": true, | |
| "UseChannelInEmailNotifications": false, | |
| - "RequireEmailVerification": false, | |
| - "FeedbackName": "", | |
| - "FeedbackEmail": "", | |
| + "RequireEmailVerification": true, | |
| + "FeedbackName": "\"Do-Not-Reply\"", | |
| + "FeedbackEmail": "do-not-reply@example.com", | |
| "ReplyToAddress": "", | |
| - "FeedbackOrganization": "", | |
| - "EnableSMTPAuth": false, | |
| - "SMTPUsername": "", | |
| - "SMTPPassword": "", | |
| - "SMTPServer": "", | |
| - "SMTPPort": "10025", | |
| + "FeedbackOrganization": "xxxxx", | |
| + "EnableSMTPAuth": true, | |
| + "SMTPUsername": "xxxxxx", | |
| + "SMTPPassword": "xxxxxxxx", | |
| + "SMTPServer": "xxxxx.example.com", | |
| + "SMTPPort": "xxxxx", | |
| "SMTPServerTimeout": 10, | |
| - "ConnectionSecurity": "", | |
| + "ConnectionSecurity": "xxxxxx", | |
| "SendPushNotifications": true, | |
| - "PushNotificationServer": "https://push-test.mattermost.com", | |
| - "PushNotificationContents": "full", | |
| + "PushNotificationServer": "http://push-test.mattermost.com", | |
| + "PushNotificationContents": "generic", | |
| "PushNotificationBuffer": 1000, | |
| "EnableEmailBatching": false, | |
| "EmailBatchingBufferSize": 256, | |
| "EmailBatchingInterval": 30, | |
| - "EnablePreviewModeBanner": true, | |
| + "EnablePreviewModeBanner": false, | |
| "SkipServerCertificateVerification": false, | |
| "EmailNotificationContentsType": "full", | |
| "LoginButtonColor": "#0000", | |
| @@ -247,7 +250,7 @@ | |
| "EnableInactivityEmail": true | |
| }, | |
| "RateLimitSettings": { | |
| - "Enable": false, | |
| + "Enable": true, | |
| "PerSec": 10, | |
| "MaxBurst": 100, | |
| "MemoryStoreSize": 10000, | |
| @@ -260,12 +263,12 @@ | |
| "ShowFullName": true | |
| }, | |
| "SupportSettings": { | |
| - "TermsOfServiceLink": "https://mattermost.com/terms-of-use/", | |
| - "PrivacyPolicyLink": "https://mattermost.com/privacy-policy/", | |
| - "AboutLink": "https://docs.mattermost.com/about/product.html/", | |
| - "HelpLink": "https://mattermost.com/default-help/", | |
| - "ReportAProblemLink": "https://mattermost.com/default-report-a-problem/", | |
| - "SupportEmail": "", | |
| + "TermsOfServiceLink": "https://about.mattermost.com/default-terms/", | |
| + "PrivacyPolicyLink": "https://about.mattermost.com/default-privacy-policy/", | |
| + "AboutLink": "https://about.mattermost.com/default-about/", | |
| + "HelpLink": "https://about.mattermost.com/default-help/", | |
| + "ReportAProblemLink": "https://about.mattermost.com/default-report-a-problem/", | |
| + "SupportEmail": "feedback@mattermost.com", | |
| "CustomTermsOfServiceEnabled": false, | |
| "CustomTermsOfServiceReAcceptancePeriod": 365, | |
| "EnableAskCommunityLink": true | |
| @@ -307,7 +310,7 @@ | |
| "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", | |
| + "UserAPIEndpoint": "https://www.googleapis.com/plus/v1/people/me", | |
| "DiscoveryEndpoint": "", | |
| "ButtonText": "", | |
| "ButtonColor": "" | |
| @@ -388,8 +391,8 @@ | |
| "EnableSyncWithLdap": false, | |
| "EnableSyncWithLdapIncludeAuth": false, | |
| "IgnoreGuestsLdapSync": false, | |
| - "Verify": true, | |
| - "Encrypt": true, | |
| + "Verify": false, | |
| + "Encrypt": false, | |
| "SignRequest": false, | |
| "IdpURL": "", | |
| "IdpDescriptorURL": "", | |
| @@ -414,7 +417,7 @@ | |
| "NicknameAttribute": "", | |
| "LocaleAttribute": "", | |
| "PositionAttribute": "", | |
| - "LoginButtonText": "SAML", | |
| + "LoginButtonText": "With SAML", | |
| "LoginButtonColor": "#34a28b", | |
| "LoginButtonBorderColor": "#2389D7", | |
| "LoginButtonTextColor": "#ffffff" | |
| @@ -424,9 +427,9 @@ | |
| "mmauth://", | |
| "mmauthbeta://" | |
| ], | |
| - "AppDownloadLink": "https://mattermost.com/download/#mattermostApps", | |
| - "AndroidAppDownloadLink": "https://mattermost.com/mattermost-android-app/", | |
| - "IosAppDownloadLink": "https://mattermost.com/mattermost-ios-app/" | |
| + "AppDownloadLink": "https://about.mattermost.com/downloads/", | |
| + "AndroidAppDownloadLink": "https://about.mattermost.com/mattermost-android-app/", | |
| + "IosAppDownloadLink": "https://about.mattermost.com/mattermost-ios-app/" | |
| }, | |
| "ClusterSettings": { | |
| "Enable": false, | |
| @@ -465,9 +468,9 @@ | |
| "MaxUsersForStatistics": 2500 | |
| }, | |
| "ElasticsearchSettings": { | |
| - "ConnectionURL": "http://localhost:9200", | |
| - "Username": "elastic", | |
| - "Password": "changeme", | |
| + "ConnectionURL": "", | |
| + "Username": "", | |
| + "Password": "", | |
| "EnableIndexing": false, | |
| "EnableSearching": false, | |
| "EnableAutocomplete": false, | |
| @@ -482,6 +485,7 @@ | |
| "PostsAggregatorJobStartTime": "03:00", | |
| "IndexPrefix": "", | |
| "LiveIndexingBatchSize": 1, | |
| + "BulkIndexingTimeWindowSeconds": 3600, | |
| "BatchSize": 10000, | |
| "RequestTimeoutSeconds": 30, | |
| "SkipTLSVerification": false, | |
| @@ -492,6 +496,7 @@ | |
| "EnableIndexing": false, | |
| "EnableSearching": false, | |
| "EnableAutocomplete": false, | |
| + "BulkIndexingTimeWindowSeconds": 3600, | |
| "BatchSize": 10000 | |
| }, | |
| "DataRetentionSettings": { | |
| @@ -527,27 +532,127 @@ | |
| }, | |
| "PluginSettings": { | |
| "Enable": true, | |
| - "EnableUploads": false, | |
| + "EnableUploads": true, | |
| "AllowInsecureDownloadURL": false, | |
| "EnableHealthCheck": true, | |
| - "Directory": "./plugins", | |
| - "ClientDirectory": "./client/plugins", | |
| - "Plugins": {}, | |
| + "Directory": "/opt/mm/plugins", | |
| + "ClientDirectory": "/opt/mm/client/plugins", | |
| + "Plugins": { | |
| + "com.github.matterpoll.matterpoll": { | |
| + "experimentalui": false, | |
| + "trigger": "poll" | |
| + }, | |
| + "com.github.moussetc.mattermost.plugin.giphy": { | |
| + "apikey": null, | |
| + "language (giphy\u0026tenor only)": "en", | |
| + "provider": "gfycat", | |
| + "rating": null, | |
| + "rendition": "fixed_height_small", | |
| + "renditiongfycat": "gif100px", | |
| + "renditiontenor": "mediumgif" | |
| + }, | |
| + "com.mattermost.calls": { | |
| + "allowenablecalls": false, | |
| + "defaultenabled": false, | |
| + "icehostoverride": "", | |
| + "iceserversconfigs": "[{\"urls\":[\"stun:stun.global.calls.mattermost.com:3478\"]}]", | |
| + "maxcallparticipants": 0, | |
| + "rtcdserviceurl": null, | |
| + "serversideturn": false, | |
| + "turncredentialsexpirationminutes": 1440, | |
| + "turnstaticauthsecret": "", | |
| + "udpserverport": 8443 | |
| + }, | |
| + "com.mattermost.nps": { | |
| + "enablesurvey": false | |
| + }, | |
| + "com.mattermost.plugin-incident-management": { | |
| + "BotUserID": "xxxxxxx" | |
| + }, | |
| + "com.mattermost.plugin-todo": { | |
| + "hide_team_sidebar": null | |
| + }, | |
| + "com.mattermost.webex": { | |
| + "sitehost": "xxxxxx.webex.com" | |
| + }, | |
| + "focalboard": { | |
| + "enablepublicsharedboards": false | |
| + }, | |
| + "github": { | |
| + "enablecodepreview": false, | |
| + "enableprivaterepo": false, | |
| + "encryptionkey": "xxxxxxx", | |
| + "enterprisebaseurl": null, | |
| + "enterpriseuploadurl": null, | |
| + "githuboauthclientid": "xxxxxx", | |
| + "githuboauthclientsecret": "xxxxxxx", | |
| + "githuborg": null, | |
| + "webhooksecret": "xxxxxx" | |
| + }, | |
| + "jira": { | |
| + "enabled": true, | |
| + "enablejiraui": true, | |
| + "groupsallowedtoeditjirasubscriptions": "", | |
| + "hidedecriptioncomment": false, | |
| + "jiraadminadditionalhelptext": "", | |
| + "rolesallowedtoeditjirasubscriptions": "system_admin", | |
| + "secret": "xxxxxxx", | |
| + "statssecret": "xxxxxxx", | |
| + "username": "xxxxx" | |
| + }, | |
| + "playbooks": { | |
| + "BotUserID": "xxxxxxx", | |
| + "enableexperimentalfeatures": false | |
| + } | |
| + }, | |
| "PluginStates": { | |
| + "com.github.matterpoll.matterpoll": { | |
| + "Enable": true | |
| + }, | |
| + "com.github.moussetc.mattermost.plugin.diceroller": { | |
| + "Enable": true | |
| + }, | |
| + "com.github.moussetc.mattermost.plugin.giphy": { | |
| + "Enable": true | |
| + }, | |
| + "com.github.scottleedavis.mattermost-plugin-remind": { | |
| + "Enable": true | |
| + }, | |
| "com.mattermost.apps": { | |
| "Enable": true | |
| }, | |
| "com.mattermost.calls": { | |
| - "Enable": true | |
| + "Enable": false | |
| }, | |
| "com.mattermost.nps": { | |
| + "Enable": false | |
| + }, | |
| + "com.mattermost.plugin-channel-export": { | |
| + "Enable": false | |
| + }, | |
| + "com.mattermost.plugin-incident-management": { | |
| + "Enable": true | |
| + }, | |
| + "com.mattermost.plugin-todo": { | |
| + "Enable": true | |
| + }, | |
| + "com.mattermost.webex": { | |
| "Enable": true | |
| }, | |
| "focalboard": { | |
| + "Enable": false | |
| + }, | |
| + "github": { | |
| + "Enable": false | |
| + }, | |
| + "jira": { | |
| "Enable": true | |
| }, | |
| - "playbooks": { | |
| + "mattermost-google-meet-plugin": { | |
| "Enable": true | |
| + }, | |
| + "playbooks": { | |
| + "Enable": false | |
| } | |
| }, | |
| "EnableMarketplace": true, | |
| @@ -560,7 +665,7 @@ | |
| }, | |
| "DisplaySettings": { | |
| "CustomURLSchemes": [], | |
| - "ExperimentalTimezone": true | |
| + "ExperimentalTimezone": false | |
| }, | |
| "GuestAccountsSettings": { | |
| "Enable": false, | |
| @@ -569,7 +674,7 @@ | |
| "RestrictCreationToDomains": "" | |
| }, | |
| "ImageProxySettings": { | |
| - "Enable": false, | |
| + "Enable": true, | |
| "ImageProxyType": "local", | |
| "RemoteImageProxyURL": "", | |
| "RemoteImageProxyOptions": "" | |
| @@ -578,35 +683,6 @@ | |
| "CWSURL": "https://customers.mattermost.com", | |
| "CWSAPIURL": "https://portal.internal.prod.cloud.mattermost.com" | |
| }, | |
| - "FeatureFlags": { | |
| - "TestFeature": "off", | |
| - "TestBoolFeature": false, | |
| - "CollapsedThreads": true, | |
| - "EnableRemoteClusterService": false, | |
| - "AppsEnabled": true, | |
| - "PluginPlaybooks": "", | |
| - "PluginApps": "", | |
| - "PluginFocalboard": "", | |
| - "PluginCalls": "", | |
| - "PermalinkPreviews": true, | |
| - "CallsMobile": false, | |
| - "CallsEnabled": true, | |
| - "BoardsFeatureFlags": "", | |
| - "GuidedChannelCreation": false, | |
| - "InviteToTeam": "none", | |
| - "CustomGroups": true, | |
| - "BoardsDataRetention": false, | |
| - "NormalizeLdapDNs": false, | |
| - "EnableInactivityCheckJob": true, | |
| - "UseCaseOnboarding": true, | |
| - "GraphQL": false, | |
| - "InsightsEnabled": true, | |
| - "CommandPalette": false, | |
| - "PostForwarding": true, | |
| - "AdvancedTextEditor": true, | |
| - "BoardsProduct": false, | |
| - "PlanUpgradeButtonText": "Upgrade" | |
| - }, | |
| "ImportSettings": { | |
| "Directory": "./import", | |
| "RetentionDays": 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment