mirror of
https://github.com/coltoneshaw/CS-Repro-Mattermost.git
synced 2025-12-23 10:01:30 +01:00
Added make file and modified how it works
This commit is contained in:
139
files/mattermost/defaultConfig.json
Normal file
139
files/mattermost/defaultConfig.json
Normal file
@@ -0,0 +1,139 @@
|
||||
{
|
||||
"ServiceSettings": {
|
||||
"LicenseFileLocation": "config/license.mattermost-enterprise",
|
||||
"AllowedUntrustedInternalConnections": "cs-repro-keycloak:8080 cs-repro-keycloak"
|
||||
},
|
||||
"LogSettings": {
|
||||
"EnableConsole": true,
|
||||
"ConsoleLevel": "DEBUG",
|
||||
"ConsoleJson": true,
|
||||
"EnableColor": false,
|
||||
"EnableFile": true,
|
||||
"FileLevel": "INFO",
|
||||
"FileJson": true,
|
||||
"FileLocation": "",
|
||||
"EnableWebhookDebugging": true,
|
||||
"EnableDiagnostics": true,
|
||||
"EnableSentry": true,
|
||||
"AdvancedLoggingConfig": ""
|
||||
},
|
||||
"ExperimentalAuditSettings": {
|
||||
"FileEnabled": false,
|
||||
"FileName": "",
|
||||
"FileMaxSizeMB": 100,
|
||||
"FileMaxAgeDays": 0,
|
||||
"FileMaxBackups": 0,
|
||||
"FileCompress": false,
|
||||
"FileMaxQueueSize": 1000,
|
||||
"AdvancedLoggingConfig": ""
|
||||
},
|
||||
"NotificationLogSettings": {
|
||||
"EnableConsole": true,
|
||||
"ConsoleLevel": "DEBUG",
|
||||
"ConsoleJson": true,
|
||||
"EnableColor": false,
|
||||
"EnableFile": true,
|
||||
"FileLevel": "INFO",
|
||||
"FileJson": true,
|
||||
"FileLocation": "",
|
||||
"AdvancedLoggingConfig": ""
|
||||
},
|
||||
"LdapSettings": {
|
||||
"Enable": true,
|
||||
"EnableSync": true,
|
||||
"LdapServer": "openldap",
|
||||
"LdapPort": 10389,
|
||||
"ConnectionSecurity": "",
|
||||
"BaseDN": "dc=planetexpress,dc=com",
|
||||
"BindUsername": "cn=admin,dc=planetexpress,dc=com",
|
||||
"BindPassword": "GoodNewsEveryone",
|
||||
"UserFilter": "(objectClass=banana)",
|
||||
"GroupFilter": "(objectClass=Group)",
|
||||
"GuestFilter": "",
|
||||
"EnableAdminFilter": true,
|
||||
"AdminFilter": "(memberof=cn=admin_staff,ou=people,dc=planetexpress,dc=com)",
|
||||
"GroupDisplayNameAttribute": "cn",
|
||||
"GroupIdAttribute": "dn",
|
||||
"FirstNameAttribute": "givenName",
|
||||
"LastNameAttribute": "sn",
|
||||
"EmailAttribute": "mail",
|
||||
"UsernameAttribute": "uid",
|
||||
"NicknameAttribute": "",
|
||||
"IdAttribute": "uid",
|
||||
"PositionAttribute": "",
|
||||
"LoginIdAttribute": "uid",
|
||||
"PictureAttribute": "",
|
||||
"SyncIntervalMinutes": 60,
|
||||
"SkipCertificateVerification": false,
|
||||
"PublicCertificateFile": "",
|
||||
"PrivateKeyFile": "",
|
||||
"QueryTimeout": 60,
|
||||
"MaxPageSize": 0,
|
||||
"LoginFieldName": "",
|
||||
"LoginButtonColor": "#0000",
|
||||
"LoginButtonBorderColor": "#2389D7",
|
||||
"LoginButtonTextColor": "#2389D7",
|
||||
"Trace": true
|
||||
},
|
||||
"SamlSettings": {
|
||||
"Enable": true,
|
||||
"EnableSyncWithLdap": true,
|
||||
"EnableSyncWithLdapIncludeAuth": true,
|
||||
"IgnoreGuestsLdapSync": false,
|
||||
"Verify": false,
|
||||
"Encrypt": false,
|
||||
"SignRequest": false,
|
||||
"IdpURL": "http://localhost:8080/realms/master/protocol/saml",
|
||||
"IdpDescriptorURL": "http://localhost:8080/realms/master",
|
||||
"IdpMetadataURL": "http://cs-repro-keycloak:8080/realms/master/protocol/saml/descriptor",
|
||||
"ServiceProviderIdentifier": "mattermost",
|
||||
"AssertionConsumerServiceURL": "http://localhost:8065/login/sso/saml",
|
||||
"SignatureAlgorithm": "RSAwithSHA1",
|
||||
"CanonicalAlgorithm": "Canonical1.0",
|
||||
"ScopingIDPProviderId": "",
|
||||
"ScopingIDPName": "",
|
||||
"IdpCertificateFile": "samlCert.crt",
|
||||
"PublicCertificateFile": "",
|
||||
"PrivateKeyFile": "",
|
||||
"IdAttribute": "id",
|
||||
"GuestAttribute": "",
|
||||
"EnableAdminAttribute": false,
|
||||
"AdminAttribute": "",
|
||||
"FirstNameAttribute": "",
|
||||
"LastNameAttribute": "",
|
||||
"EmailAttribute": "email",
|
||||
"UsernameAttribute": "username",
|
||||
"NicknameAttribute": "",
|
||||
"LocaleAttribute": "",
|
||||
"PositionAttribute": "",
|
||||
"LoginButtonText": "keycloak",
|
||||
"LoginButtonColor": "#34a28b",
|
||||
"LoginButtonBorderColor": "#2389D7",
|
||||
"LoginButtonTextColor": "#ffffff"
|
||||
},
|
||||
"MetricsSettings": {
|
||||
"Enable": true,
|
||||
"BlockProfileRate": 0,
|
||||
"ListenAddress": ":8067"
|
||||
},
|
||||
"ElasticsearchSettings": {
|
||||
"ConnectionURL": "http://cs-repro-elasticsearch:9200",
|
||||
"EnableIndexing": true,
|
||||
"EnableSearching": true,
|
||||
"EnableAutocomplete": true,
|
||||
"Sniff": true,
|
||||
"PostIndexReplicas": 1,
|
||||
"PostIndexShards": 1,
|
||||
"ChannelIndexReplicas": 1,
|
||||
"ChannelIndexShards": 1,
|
||||
"UserIndexReplicas": 1,
|
||||
"UserIndexShards": 1,
|
||||
"AggregatePostsAfterDays": 365,
|
||||
"PostsAggregatorJobStartTime": "03:00",
|
||||
"IndexPrefix": ""
|
||||
},
|
||||
"PluginSettings": {
|
||||
"Enable": true,
|
||||
"EnableUploads": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user