2023-08-16 22:26:55 +00:00
|
|
|
Index: server/config/config.json
|
|
|
|
--- server/config/config.json.orig
|
|
|
|
+++ server/config/config.json
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
"TLSStrictTransportMaxAge": 63072000,
|
|
|
|
"TLSOverwriteCiphers": [],
|
|
|
|
"UseLetsEncrypt": false,
|
|
|
|
- "LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache",
|
|
|
|
+ "LetsEncryptCertificateCacheFile": "${LOCALSTATEDIR}/mattermost/letsencrypt.cache",
|
|
|
|
"Forward80To443": false,
|
|
|
|
"TrustedProxyIPHeader": [],
|
|
|
|
"ReadTimeout": 300,
|
|
|
|
@@ -97,7 +97,7 @@
|
|
|
|
"PersistentNotificationMaxRecipients": 5,
|
|
|
|
"EnableAPIChannelDeletion": false,
|
|
|
|
"EnableLocalMode": false,
|
|
|
|
- "LocalModeSocketLocation": "/var/tmp/mattermost_local.socket",
|
|
|
|
+ "LocalModeSocketLocation": "${LOCALSTATEDIR}/mattermost/mattermost_local.socket",
|
|
|
|
"EnableAWSMetering": false,
|
|
|
|
"SplitKey": "",
|
|
|
|
"FeatureFlagSyncIntervalSeconds": 30,
|
|
|
|
@@ -157,14 +157,14 @@
|
|
|
|
"ReplicaMonitorIntervalSeconds": 5
|
|
|
|
},
|
|
|
|
"LogSettings": {
|
|
|
|
- "EnableConsole": true,
|
|
|
|
+ "EnableConsole": false,
|
|
|
|
"ConsoleLevel": "INFO",
|
|
|
|
"ConsoleJson": true,
|
|
|
|
"EnableColor": false,
|
|
|
|
"EnableFile": true,
|
|
|
|
"FileLevel": "INFO",
|
|
|
|
"FileJson": true,
|
|
|
|
- "FileLocation": "",
|
|
|
|
+ "FileLocation": "${LOCALSTATEDIR}/log/mattermost",
|
|
|
|
"EnableWebhookDebugging": true,
|
|
|
|
"EnableDiagnostics": true,
|
|
|
|
"VerboseDiagnostics": false,
|
|
|
|
@@ -184,14 +184,14 @@
|
|
|
|
"AdvancedLoggingConfig": ""
|
|
|
|
},
|
|
|
|
"NotificationLogSettings": {
|
|
|
|
- "EnableConsole": true,
|
|
|
|
+ "EnableConsole": false,
|
|
|
|
"ConsoleLevel": "INFO",
|
|
|
|
"ConsoleJson": true,
|
|
|
|
"EnableColor": false,
|
|
|
|
"EnableFile": true,
|
|
|
|
"FileLevel": "INFO",
|
|
|
|
"FileJson": true,
|
|
|
|
- "FileLocation": "",
|
|
|
|
+ "FileLocation": "${LOCALSTATEDIR}/log/mattermost",
|
|
|
|
"AdvancedLoggingJSON": {},
|
|
|
|
"AdvancedLoggingConfig": ""
|
|
|
|
},
|
2023-09-08 05:21:37 +00:00
|
|
|
@@ -211,7 +211,7 @@
|
2023-08-16 22:26:55 +00:00
|
|
|
"MaxImageResolution": 33177600,
|
|
|
|
"MaxImageDecoderConcurrency": -1,
|
|
|
|
"DriverName": "local",
|
|
|
|
- "Directory": "./data/",
|
|
|
|
+ "Directory": "${LOCALSTATEDIR}/mattermost/data/",
|
|
|
|
"EnablePublicLink": false,
|
|
|
|
"ExtractContent": true,
|
|
|
|
"ArchiveRecursion": false,
|
2023-09-08 05:21:37 +00:00
|
|
|
@@ -258,11 +258,11 @@
|
2023-08-16 22:26:55 +00:00
|
|
|
"EnableSMTPAuth": false,
|
|
|
|
"SMTPUsername": "",
|
|
|
|
"SMTPPassword": "",
|
|
|
|
- "SMTPServer": "",
|
|
|
|
- "SMTPPort": "10025",
|
|
|
|
+ "SMTPServer": "localhost",
|
|
|
|
+ "SMTPPort": "25",
|
|
|
|
"SMTPServerTimeout": 10,
|
|
|
|
"ConnectionSecurity": "",
|
|
|
|
- "SendPushNotifications": true,
|
|
|
|
+ "SendPushNotifications": false,
|
|
|
|
"PushNotificationServer": "https://push-test.mattermost.com",
|
|
|
|
"PushNotificationContents": "full",
|
|
|
|
"PushNotificationBuffer": 1000,
|
2023-09-08 05:21:37 +00:00
|
|
|
@@ -299,7 +299,7 @@
|
2023-08-16 22:26:55 +00:00
|
|
|
"SupportEmail": "",
|
|
|
|
"CustomTermsOfServiceEnabled": false,
|
|
|
|
"CustomTermsOfServiceReAcceptancePeriod": 365,
|
|
|
|
- "EnableAskCommunityLink": true
|
|
|
|
+ "EnableAskCommunityLink": false
|
|
|
|
},
|
|
|
|
"AnnouncementSettings": {
|
|
|
|
"EnableBanner": false,
|
2023-09-08 05:21:37 +00:00
|
|
|
@@ -405,7 +405,7 @@
|
2023-08-16 22:26:55 +00:00
|
|
|
},
|
|
|
|
"ComplianceSettings": {
|
|
|
|
"Enable": false,
|
|
|
|
- "Directory": "./data/",
|
|
|
|
+ "Directory": "${LOCALSTATEDIR}/mattermost/data/",
|
|
|
|
"EnableDaily": false,
|
|
|
|
"BatchSize": 30000
|
|
|
|
},
|
2023-09-08 05:21:37 +00:00
|
|
|
@@ -568,8 +568,8 @@
|
2023-08-16 22:26:55 +00:00
|
|
|
"EnableUploads": false,
|
|
|
|
"AllowInsecureDownloadURL": false,
|
|
|
|
"EnableHealthCheck": true,
|
|
|
|
- "Directory": "./plugins",
|
|
|
|
- "ClientDirectory": "./client/plugins",
|
|
|
|
+ "Directory": "${LOCALSTATEDIR}/mattermost/plugins",
|
|
|
|
+ "ClientDirectory": "${LOCALSTATEDIR}/mattermost/client/plugins",
|
|
|
|
"Plugins": {},
|
|
|
|
"PluginStates": {
|
|
|
|
"com.mattermost.calls": {
|
2023-09-08 05:21:37 +00:00
|
|
|
@@ -639,11 +639,11 @@
|
|
|
|
"DataRetentionConcurrencyEnabled": true
|
2023-08-16 22:26:55 +00:00
|
|
|
},
|
|
|
|
"ImportSettings": {
|
|
|
|
- "Directory": "./import",
|
|
|
|
+ "Directory": "${LOCALSTATEDIR}/mattermost/import",
|
|
|
|
"RetentionDays": 30
|
|
|
|
},
|
|
|
|
"ExportSettings": {
|
|
|
|
- "Directory": "./export",
|
|
|
|
+ "Directory": "${LOCALSTATEDIR}/mattermost/export",
|
|
|
|
"RetentionDays": 30
|
|
|
|
}
|
|
|
|
-}
|
|
|
|
\ No newline at end of file
|
|
|
|
+}
|