github.com/masterhung0112/hk_server/v5@v5.0.0-20220302090640-ec71aef15e1c/tests/test-config.json (about) 1 { 2 "ServiceSettings": { 3 "SiteURL": "", 4 "WebsocketURL": "", 5 "LicenseFileLocation": "", 6 "ListenAddress": ":8065", 7 "ConnectionSecurity": "", 8 "TLSCertFile": "", 9 "TLSKeyFile": "", 10 "UseLetsEncrypt": false, 11 "LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache", 12 "Forward80To443": false, 13 "ReadTimeout": 300, 14 "WriteTimeout": 300, 15 "MaximumLoginAttempts": 10, 16 "GoroutineHealthThreshold": -1, 17 "GoogleDeveloperKey": "", 18 "EnableOAuthServiceProvider": false, 19 "EnableIncomingWebhooks": true, 20 "EnableOutgoingWebhooks": true, 21 "EnableCommands": true, 22 "EnableOnlyAdminIntegrations": true, 23 "EnablePostUsernameOverride": false, 24 "EnablePostIconOverride": false, 25 "EnableLinkPreviews": false, 26 "EnableTesting": false, 27 "EnableDeveloper": false, 28 "EnableSecurityFixAlert": true, 29 "EnableInsecureOutgoingConnections": false, 30 "AllowedUntrustedInternalConnections": "", 31 "EnableMultifactorAuthentication": false, 32 "EnforceMultifactorAuthentication": false, 33 "EnableUserAccessTokens": false, 34 "AllowCorsFrom": "", 35 "AllowCookiesForSubdomains": false, 36 "ExtendSessionLengthWithActivity": true, 37 "SessionLengthWebInDays": 30, 38 "SessionLengthMobileInDays": 30, 39 "SessionLengthSSOInDays": 30, 40 "SessionCacheInMinutes": 10, 41 "SessionIdleTimeoutInMinutes": 0, 42 "WebsocketSecurePort": 443, 43 "WebsocketPort": 80, 44 "WebserverMode": "gzip", 45 "EnableCustomEmoji": false, 46 "EnableEmojiPicker": true, 47 "RestrictCustomEmojiCreation": "all", 48 "RestrictPostDelete": "all", 49 "AllowEditPost": "always", 50 "PostEditTimeLimit": -1, 51 "TimeBetweenUserTypingUpdatesMilliseconds": 5000, 52 "EnablePostSearch": true, 53 "MinimumHashtagLength": 3, 54 "EnableUserTypingMessages": true, 55 "EnableChannelViewedMessages": true, 56 "EnableUserStatuses": true, 57 "ExperimentalEnableAuthenticationTransfer": true, 58 "ClusterLogTimeoutMilliseconds": 2000, 59 "CloseUnusedDirectMessages": false, 60 "EnablePreviewFeatures": true, 61 "EnableTutorial": true, 62 "ExperimentalEnableDefaultChannelLeaveJoinMessages": true, 63 "ExperimentalGroupUnreadChannels": "disabled", 64 "ImageProxyType": "", 65 "ImageProxyURL": "", 66 "ImageProxyOptions": "", 67 "EnableAPITeamDeletion": false, 68 "ExperimentalEnableHardenedMode": false, 69 }, 70 "TeamSettings": { 71 "SiteName": "Mattermost", 72 "MaxUsersPerTeam": 50, 73 "EnableTeamCreation": true, 74 "EnableUserCreation": true, 75 "EnableOpenServer": false, 76 "EnableUserDeactivation": false, 77 "RestrictCreationToDomains": "", 78 "EnableCustomBrand": false, 79 "CustomBrandText": "", 80 "CustomDescriptionText": "", 81 "RestrictDirectMessage": "any", 82 "RestrictTeamInvite": "all", 83 "RestrictPublicChannelManagement": "all", 84 "RestrictPrivateChannelManagement": "all", 85 "RestrictPublicChannelCreation": "all", 86 "RestrictPrivateChannelCreation": "all", 87 "RestrictPublicChannelDeletion": "all", 88 "RestrictPrivateChannelDeletion": "all", 89 "RestrictPrivateChannelManageMembers": "all", 90 "EnableXToLeaveChannelsFromLHS": false, 91 "UserStatusAwayTimeout": 300, 92 "MaxChannelsPerTeam": 2000, 93 "MaxNotificationsPerChannel": 1000, 94 "EnableConfirmNotificationsToChannel": true, 95 "TeammateNameDisplay": "username", 96 "ExperimentalEnableAutomaticReplies": false, 97 "ExperimentalHideTownSquareinLHS": false, 98 "ExperimentalTownSquareIsReadOnly": false, 99 "ExperimentalPrimaryTeam": "" 100 }, 101 "ClientRequirements": { 102 "AndroidLatestVersion": "", 103 "AndroidMinVersion": "", 104 "DesktopLatestVersion": "", 105 "DesktopMinVersion": "", 106 "IosLatestVersion": "", 107 "IosMinVersion": "" 108 }, 109 "SqlSettings": { 110 "DriverName": "mysql", 111 "DataSource": "mmuser:mostest@tcp(localhost:3306)/mattermost_test?charset=utf8mb4,utf8\u0026readTimeout=30s\u0026writeTimeout=30s", 112 "DataSourceReplicas": [], 113 "DataSourceSearchReplicas": [], 114 "MaxIdleConns": 20, 115 "MaxOpenConns": 300, 116 "Trace": false, 117 "AtRestEncryptKey": "jdh9iergmse3w9mt53snasugmmi9r6it", 118 "QueryTimeout": 30 119 }, 120 "LogSettings": { 121 "EnableConsole": true, 122 "ConsoleLevel": "DEBUG", 123 "ConsoleJson": true, 124 "EnableFile": true, 125 "FileLevel": "INFO", 126 "FileJson": true, 127 "FileLocation": "", 128 "EnableWebhookDebugging": true, 129 "EnableDiagnostics": true 130 }, 131 "PasswordSettings": { 132 "MinimumLength": 5, 133 "Lowercase": false, 134 "Number": false, 135 "Uppercase": false, 136 "Symbol": false 137 }, 138 "FileSettings": { 139 "EnableFileAttachments": true, 140 "EnableMobileUpload": true, 141 "EnableMobileDownload": true, 142 "MaxFileSize": 52428800, 143 "DriverName": "local", 144 "Directory": "./data/", 145 "EnablePublicLink": false, 146 "PublicLinkSalt": "3xh7ztscuezjp1jkdjybtejrtw59xjt1", 147 "InitialFont": "luximbi.ttf", 148 "AmazonS3AccessKeyId": "", 149 "AmazonS3SecretAccessKey": "", 150 "AmazonS3Bucket": "", 151 "AmazonS3Region": "", 152 "AmazonS3Endpoint": "s3.amazonaws.com", 153 "AmazonS3SSL": true, 154 "AmazonS3SignV2": false, 155 "AmazonS3SSE": false, 156 "AmazonS3Trace": false 157 }, 158 "EmailSettings": { 159 "EnableSignUpWithEmail": true, 160 "EnableSignInWithEmail": true, 161 "EnableSignInWithUsername": true, 162 "SendEmailNotifications": true, 163 "UseChannelInEmailNotifications": false, 164 "RequireEmailVerification": false, 165 "FeedbackName": "", 166 "FeedbackEmail": "test@example.com", 167 "ReplyToAddress": "test@example.com", 168 "FeedbackOrganization": "", 169 "EnableSMTPAuth": false, 170 "SMTPUsername": "", 171 "SMTPPassword": "", 172 "SMTPServer": "localhost", 173 "SMTPPort": "2500", 174 "ConnectionSecurity": "", 175 "SendPushNotifications": false, 176 "PushNotificationServer": "", 177 "PushNotificationContents": "generic", 178 "EnableEmailBatching": false, 179 "EmailBatchingBufferSize": 256, 180 "EmailBatchingInterval": 30, 181 "EnablePreviewModeBanner": true, 182 "SkipServerCertificateVerification": false, 183 "EmailNotificationContentsType": "full", 184 "LoginButtonColor": "", 185 "LoginButtonBorderColor": "", 186 "LoginButtonTextColor": "" 187 }, 188 "RateLimitSettings": { 189 "Enable": false, 190 "PerSec": 10, 191 "MaxBurst": 100, 192 "MemoryStoreSize": 10000, 193 "VaryByRemoteAddr": true, 194 "VaryByUser": false, 195 "VaryByHeader": "" 196 }, 197 "PrivacySettings": { 198 "ShowEmailAddress": true, 199 "ShowFullName": true 200 }, 201 "SupportSettings": { 202 "TermsOfServiceLink": "https://about.mattermost.com/default-terms/", 203 "PrivacyPolicyLink": "https://about.mattermost.com/default-privacy-policy/", 204 "AboutLink": "https://about.mattermost.com/default-about/", 205 "HelpLink": "https://about.mattermost.com/default-help/", 206 "ReportAProblemLink": "https://about.mattermost.com/default-report-a-problem/", 207 "SupportEmail": "feedback@mattermost.com" 208 }, 209 "AnnouncementSettings": { 210 "EnableBanner": false, 211 "BannerText": "", 212 "BannerColor": "#f2a93b", 213 "BannerTextColor": "#333333", 214 "AllowBannerDismissal": true 215 }, 216 "ThemeSettings": { 217 "EnableThemeSelection": true, 218 "DefaultTheme": "default", 219 "AllowCustomThemes": true, 220 "AllowedThemes": [] 221 }, 222 "GitLabSettings": { 223 "Enable": false, 224 "Secret": "", 225 "Id": "", 226 "Scope": "", 227 "AuthEndpoint": "", 228 "TokenEndpoint": "", 229 "UserApiEndpoint": "" 230 }, 231 "GoogleSettings": { 232 "Enable": false, 233 "Secret": "", 234 "Id": "", 235 "Scope": "profile email", 236 "AuthEndpoint": "https://accounts.google.com/o/oauth2/v2/auth", 237 "TokenEndpoint": "https://www.googleapis.com/oauth2/v4/token", 238 "UserApiEndpoint": "https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata" 239 }, 240 "Office365Settings": { 241 "Enable": false, 242 "Secret": "", 243 "Id": "", 244 "Scope": "User.Read", 245 "AuthEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", 246 "TokenEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/token", 247 "UserApiEndpoint": "https://graph.microsoft.com/v1.0/me", 248 "DirectoryId": "" 249 }, 250 "LdapSettings": { 251 "Enable": false, 252 "EnableSync": false, 253 "LdapServer": "", 254 "LdapPort": 389, 255 "ConnectionSecurity": "", 256 "BaseDN": "", 257 "BindUsername": "", 258 "BindPassword": "", 259 "UserFilter": "", 260 "FirstNameAttribute": "", 261 "LastNameAttribute": "", 262 "EmailAttribute": "", 263 "UsernameAttribute": "", 264 "NicknameAttribute": "", 265 "IdAttribute": "", 266 "PositionAttribute": "", 267 "LoginIdAttribute": "", 268 "SyncIntervalMinutes": 60, 269 "SkipCertificateVerification": false, 270 "QueryTimeout": 60, 271 "MaxPageSize": 0, 272 "LoginFieldName": "", 273 "LoginButtonColor": "", 274 "LoginButtonBorderColor": "", 275 "LoginButtonTextColor": "" 276 }, 277 "ComplianceSettings": { 278 "Enable": false, 279 "Directory": "./data/", 280 "EnableDaily": false 281 }, 282 "LocalizationSettings": { 283 "DefaultServerLocale": "en", 284 "DefaultClientLocale": "en", 285 "AvailableLocales": "" 286 }, 287 "SamlSettings": { 288 "Enable": false, 289 "EnableSyncWithLdap": false, 290 "Verify": true, 291 "Encrypt": true, 292 "IdpUrl": "", 293 "IdpDescriptorUrl": "", 294 "IdpMetadataUrl": "", 295 "AssertionConsumerServiceURL": "", 296 "ScopingIDPProviderId": "", 297 "ScopingIDPName": "", 298 "IdpCertificateFile": "", 299 "PublicCertificateFile": "", 300 "PrivateKeyFile": "", 301 "FirstNameAttribute": "", 302 "LastNameAttribute": "", 303 "EmailAttribute": "", 304 "UsernameAttribute": "", 305 "NicknameAttribute": "", 306 "LocaleAttribute": "", 307 "PositionAttribute": "", 308 "LoginButtonText": "With SAML", 309 "LoginButtonColor": "", 310 "LoginButtonBorderColor": "", 311 "LoginButtonTextColor": "" 312 }, 313 "NativeAppSettings": { 314 "AppDownloadLink": "https://about.mattermost.com/downloads/", 315 "AndroidAppDownloadLink": "https://about.mattermost.com/mattermost-android-app/", 316 "IosAppDownloadLink": "https://about.mattermost.com/mattermost-ios-app/" 317 }, 318 "ClusterSettings": { 319 "Enable": false, 320 "ClusterName": "", 321 "OverrideHostname": "", 322 "UseIpAddress": true, 323 "UseExperimentalGossip": true, 324 "ReadOnlyConfig": true, 325 "GossipPort": 8074, 326 "StreamingPort": 8075, 327 "MaxIdleConns": 100, 328 "MaxIdleConnsPerHost": 128, 329 "IdleConnTimeoutMilliseconds": 90000 330 }, 331 "MetricsSettings": { 332 "Enable": false, 333 "BlockProfileRate": 0, 334 "ListenAddress": ":8067" 335 }, 336 "ExperimentalSettings": { 337 "ClientSideCertEnable": false, 338 "ClientSideCertCheck": "secondary" 339 }, 340 "AnalyticsSettings": { 341 "MaxUsersForStatistics": 2500 342 }, 343 "ElasticsearchSettings": { 344 "ConnectionUrl": "http://localhost:9200", 345 "Username": "elastic", 346 "Password": "changeme", 347 "EnableIndexing": false, 348 "EnableSearching": false, 349 "EnableAutocomplete": false, 350 "Sniff": true, 351 "PostIndexReplicas": 1, 352 "PostIndexShards": 1, 353 "ChannelIndexReplicas": 1, 354 "ChannelIndexShards": 1, 355 "UserIndexReplicas": 1, 356 "UserIndexShards": 1, 357 "AggregatePostsAfterDays": 365, 358 "PostsAggregatorJobStartTime": "03:00", 359 "IndexPrefix": "", 360 "LiveIndexingBatchSize": 1, 361 "BulkIndexingTimeWindowSeconds": 3600, 362 "RequestTimeoutSeconds": 30 363 }, 364 "DataRetentionSettings": { 365 "EnableMessageDeletion": false, 366 "EnableFileDeletion": false, 367 "MessageRetentionDays": 365, 368 "FileRetentionDays": 365, 369 "DeletionJobStartTime": "02:00" 370 }, 371 "MessageExportSettings": { 372 "EnableExport": false, 373 "ExportFormat": "actiance", 374 "DailyRunTime": "01:00", 375 "ExportFromTimestamp": 0, 376 "BatchSize": 10000, 377 "GlobalRelaySettings": { 378 "CustomerType": "A9", 379 "SmtpUsername": "", 380 "SmtpPassword": "", 381 "EmailAddress": "" 382 } 383 }, 384 "JobSettings": { 385 "RunJobs": true, 386 "RunScheduler": true 387 }, 388 "PluginSettings": { 389 "Enable": true, 390 "EnableUploads": true, 391 "Directory": "./test-plugins", 392 "ClientDirectory": "./test-client-plugins", 393 "Plugins": {}, 394 "PluginStates": { 395 "jira": { 396 "Enable": true 397 }, 398 "testplugin": { 399 "Enable": false 400 } 401 } 402 }, 403 "DisplaySettings": { 404 "CustomUrlSchemes": [], 405 "ExperimentalTimezone": false 406 } 407 }