Problems with Konfiguration

Hi @ all,

I have some problems with configuration of mattermost via docker.
Mattermost is reachable and running. But in my mobile-App I have the following messages:

Here are my 3 Problems:
1.) “Server not reachable” → But I can send and receive messages
2.) “no notifications can be received from your server.
Due to the configuration of your server, no notifications can be received in the mobile APp. Contact your system administrator for more information”

3.) Live URL Test in system console fails.

Does somebody know how to solve this problems? I spent already ours, but not able to fix it :frowning:

** Here is my config-File:**

{
“ServiceSettings”: {
“SiteURL”: “”,
“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”: 600,
“WriteTimeout”: 600,
“IdleTimeout”: 60,
“MaximumLoginAttempts”: 10,
“GoroutineHealthThreshold”: -1,
“EnableOAuthServiceProvider”: true,
“EnableIncomingWebhooks”: true,
“EnableOutgoingWebhooks”: true,
“EnableCommands”: true,
“EnablePostUsernameOverride”: false,
“EnablePostIconOverride”: false,
“GoogleDeveloperKey”: “”,
“EnableLinkPreviews”: true,
“EnablePermalinkPreviews”: true,
“RestrictLinkPreviews”: “”,
“EnableTesting”: false,
“EnableDeveloper”: false,
“DeveloperFlags”: “”,
“EnableClientPerformanceDebugging”: false,
“EnableOpenTracing”: false,
“EnableSecurityFixAlert”: true,
“EnableInsecureOutgoingConnections”: false,
“AllowedUntrustedInternalConnections”: “”,
“EnableMultifactorAuthentication”: false,
“EnforceMultifactorAuthentication”: false,
“EnableUserAccessTokens”: false,
“AllowCorsFrom”: “”,
“CorsExposedHeaders”: “”,
“CorsAllowCredentials”: false,
“CorsDebug”: false,
“AllowCookiesForSubdomains”: false,
“ExtendSessionLengthWithActivity”: false,
“SessionLengthWebInDays”: 180,
“SessionLengthWebInHours”: 4320,
“SessionLengthMobileInDays”: 180,
“SessionLengthMobileInHours”: 4320,
“SessionLengthSSOInDays”: 30,
“SessionLengthSSOInHours”: 720,
“SessionCacheInMinutes”: 10,
“SessionIdleTimeoutInMinutes”: 43200,
“WebsocketSecurePort”: 443,
“WebsocketPort”: 80,
“WebserverMode”: “gzip”,
“EnableGifPicker”: true,
“GiphySdkKey”: “”,
“EnableCustomEmoji”: true,
“EnableEmojiPicker”: true,
“PostEditTimeLimit”: -1,
“TimeBetweenUserTypingUpdatesMilliseconds”: 5000,
“EnablePostSearch”: true,
“EnableFileSearch”: true,
“MinimumHashtagLength”: 3,
“EnableUserTypingMessages”: true,
“EnableChannelViewedMessages”: true,
“EnableUserStatuses”: true,
“ExperimentalEnableAuthenticationTransfer”: true,
“ClusterLogTimeoutMilliseconds”: 2000,
“EnablePreviewFeatures”: true,
“EnableTutorial”: true,
“EnableOnboardingFlow”: true,
“ExperimentalEnableDefaultChannelLeaveJoinMessages”: true,
“ExperimentalGroupUnreadChannels”: “disabled”,
“EnableAPITeamDeletion”: false,
“EnableAPITriggerAdminNotifications”: false,
“EnableAPIUserDeletion”: false,
“ExperimentalEnableHardenedMode”: false,
“ExperimentalStrictCSRFEnforcement”: false,
“EnableEmailInvitations”: true,
“DisableBotsWhenOwnerIsDeactivated”: true,
“EnableBotAccountCreation”: false,
“EnableSVGs”: true,
“EnableLatex”: true,
“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,
“SplitKey”: “”,
“FeatureFlagSyncIntervalSeconds”: 30,
“DebugSplit”: false,
“ThreadAutoFollow”: true,
“CollapsedThreads”: “always_on”,
“ManagedResourcePaths”: “”,
“EnableCustomGroups”: true,
“SelfHostedPurchase”: true,
“AllowSyncedDrafts”: true,
“UniqueEmojiReactionLimitPerPost”: 50,
“RefreshPostStatsRunTime”: “00:00”
},
“TeamSettings”: {
“SiteName”: “Mattermost”,
“MaxUsersPerTeam”: 50,
“EnableJoinLeaveMessageByDefault”: true,
“EnableUserCreation”: true,
“EnableOpenServer”: false,
“EnableUserDeactivation”: false,
“RestrictCreationToDomains”: “”,
“EnableCustomUserStatuses”: true,
“EnableCustomBrand”: false,
“CustomBrandText”: “”,
“CustomDescriptionText”: “”,
“RestrictDirectMessage”: “any”,
“EnableLastActiveTime”: true,
“UserStatusAwayTimeout”: 300,
“MaxChannelsPerTeam”: 2000,
“MaxNotificationsPerChannel”: 1000,
“EnableConfirmNotificationsToChannel”: true,
“TeammateNameDisplay”: “username”,
“ExperimentalViewArchivedChannels”: true,
“ExperimentalEnableAutomaticReplies”: false,
“LockTeammateNameDisplay”: false,
“ExperimentalPrimaryTeam”: “”,
“ExperimentalDefaultChannels”:
},
“ClientRequirements”: {
“AndroidLatestVersion”: “”,
“AndroidMinVersion”: “”,
“IosLatestVersion”: “”,
“IosMinVersion”: “”
},
“SqlSettings”: {
“DriverName”: “postgres”,
“DataSource”: “postgres://mmuser:password@localhost/mattermost_test?sslmode=disable\u0026connect_timeout=10\u0026binary_parameters=yes”,
“DataSourceReplicas”: ,
“DataSourceSearchReplicas”: ,
“MaxIdleConns”: 20,
“ConnMaxLifetimeMilliseconds”: 3600000,
“ConnMaxIdleTimeMilliseconds”: 300000,
“MaxOpenConns”: 300,
“Trace”: false,
“AtRestEncryptKey”: “9jh4amhpw81797fr8ef1kbzeuxfoeamd”,
“QueryTimeout”: 30,
“DisableDatabaseSearch”: false,
“MigrationsStatementTimeoutSeconds”: 100000,
“ReplicaLagSettings”: ,
“ReplicaMonitorIntervalSeconds”: 5
},
“LogSettings”: {
“EnableConsole”: true,
“ConsoleLevel”: “DEBUG”,
“ConsoleJson”: true,
“EnableColor”: false,
“EnableFile”: true,
“FileLevel”: “INFO”,
“FileJson”: true,
“FileLocation”: “”,
“EnableWebhookDebugging”: true,
“EnableDiagnostics”: true,
“VerboseDiagnostics”: false,
“EnableSentry”: true,
“AdvancedLoggingJSON”: {},
“AdvancedLoggingConfig”: “”,
“MaxFieldSize”: 2048
},
“ExperimentalAuditSettings”: {
“FileEnabled”: false,
“FileName”: “”,
“FileMaxSizeMB”: 100,
“FileMaxAgeDays”: 0,
“FileMaxBackups”: 0,
“FileCompress”: false,
“FileMaxQueueSize”: 1000,
“AdvancedLoggingJSON”: {},
“AdvancedLoggingConfig”: “”
},
“NotificationLogSettings”: {
“EnableConsole”: true,
“ConsoleLevel”: “DEBUG”,
“ConsoleJson”: true,
“EnableColor”: false,
“EnableFile”: true,
“FileLevel”: “INFO”,
“FileJson”: true,
“FileLocation”: “”,
“AdvancedLoggingJSON”: {},
“AdvancedLoggingConfig”: “”
},
“PasswordSettings”: {
“MinimumLength”: 8,
“Lowercase”: false,
“Number”: false,
“Uppercase”: false,
“Symbol”: false,
“EnableForgotLink”: true
},
“FileSettings”: {
“EnableFileAttachments”: true,
“EnableMobileUpload”: true,
“EnableMobileDownload”: true,
“MaxFileSize”: 104857600,
“MaxImageResolution”: 33177600,
“MaxImageDecoderConcurrency”: -1,
“DriverName”: “local”,
“Directory”: “./data/”,
“EnablePublicLink”: false,
“ExtractContent”: true,
“ArchiveRecursion”: false,
“PublicLinkSalt”: “hnyiroec6n8xb8apkd3ipm9afuuhp3fn”,
“InitialFont”: “nunito-bold.ttf”,
“AmazonS3AccessKeyId”: “”,
“AmazonS3SecretAccessKey”: “”,
“AmazonS3Bucket”: “”,
“AmazonS3PathPrefix”: “”,
“AmazonS3Region”: “”,
“AmazonS3Endpoint”: “s3.amazonaws.com”,
“AmazonS3SSL”: true,
“AmazonS3SignV2”: false,
“AmazonS3SSE”: false,
“AmazonS3Trace”: false,
“AmazonS3RequestTimeoutMilliseconds”: 30000,
“DedicatedExportStore”: false,
“ExportDriverName”: “local”,
“ExportDirectory”: “./data/”,
“ExportAmazonS3AccessKeyId”: “”,
“ExportAmazonS3SecretAccessKey”: “”,
“ExportAmazonS3Bucket”: “”,
“ExportAmazonS3PathPrefix”: “”,
“ExportAmazonS3Region”: “”,
“ExportAmazonS3Endpoint”: “s3.amazonaws.com”,
“ExportAmazonS3SSL”: true,
“ExportAmazonS3SignV2”: false,
“ExportAmazonS3SSE”: false,
“ExportAmazonS3Trace”: false,
“ExportAmazonS3RequestTimeoutMilliseconds”: 30000,
“ExportAmazonS3PresignExpiresSeconds”: 21600
},
“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”: “full”,
“PushNotificationBuffer”: 1000,
“EnableEmailBatching”: false,
“EmailBatchingBufferSize”: 256,
“EmailBatchingInterval”: 30,
“EnablePreviewModeBanner”: true,
“SkipServerCertificateVerification”: false,
“EmailNotificationContentsType”: “full”,
“LoginButtonColor”: “#0000”,
“LoginButtonBorderColor”: “#2389D7”,
“LoginButtonTextColor”: “#2389D7
},
“RateLimitSettings”: {
“Enable”: false,
“PerSec”: 10,
“MaxBurst”: 100,
“MemoryStoreSize”: 10000,
“VaryByRemoteAddr”: true,
“VaryByUser”: false,
“VaryByHeader”: “”
},
“PrivacySettings”: {
“ShowEmailAddress”: true,
“ShowFullName”: true
},
“SupportSettings”: {
“TermsOfServiceLink”: “Terms of Use - Mattermost Open Source Collaboration Platform”,
“PrivacyPolicyLink”: “Mattermost Privacy Policy - Open Source Messaging”,
“AboutLink”: “https://mattermost.com/pl/about-mattermost”,
“HelpLink”: “Mattermost Documentation — Mattermost documentation”,
“ReportAProblemLink”: “How to contribute to Mattermost - Mattermost Handbook”,
“ForgotPasswordLink”: “”,
“SupportEmail”: “”,
“CustomTermsOfServiceEnabled”: false,
“CustomTermsOfServiceReAcceptancePeriod”: 365,
“EnableAskCommunityLink”: true
},
“AnnouncementSettings”: {
“EnableBanner”: false,
“BannerText”: “”,
“BannerColor”: “#f2a93b”,
“BannerTextColor”: “#333333”,
“AllowBannerDismissal”: true,
“AdminNoticesEnabled”: true,
“UserNoticesEnabled”: true,
“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”: “Sign in - Google Accounts”,
“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”: “Sign in to your account”,
“TokenEndpoint”: “Sign in to your account”,
“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”: false,
“EnableSync”: false,
“LdapServer”: “”,
“LdapPort”: 389,
“ConnectionSecurity”: “”,
“BaseDN”: “”,
“BindUsername”: “”,
“BindPassword”: “”,
“UserFilter”: “”,
“GroupFilter”: “”,
“GuestFilter”: “”,
“EnableAdminFilter”: false,
“AdminFilter”: “”,
“GroupDisplayNameAttribute”: “”,
“GroupIdAttribute”: “”,
“FirstNameAttribute”: “”,
“LastNameAttribute”: “”,
“EmailAttribute”: “”,
“UsernameAttribute”: “”,
“NicknameAttribute”: “”,
“IdAttribute”: “”,
“PositionAttribute”: “”,
“LoginIdAttribute”: “”,
“PictureAttribute”: “”,
“SyncIntervalMinutes”: 60,
“SkipCertificateVerification”: false,
“PublicCertificateFile”: “”,
“PrivateKeyFile”: “”,
“QueryTimeout”: 60,
“MaxPageSize”: 0,
“LoginFieldName”: “”,
“LoginButtonColor”: “#0000”,
“LoginButtonBorderColor”: “#2389D7”,
“LoginButtonTextColor”: “#2389D7”,
“Trace”: false
},
“ComplianceSettings”: {
“Enable”: false,
“Directory”: “./data/”,
“EnableDaily”: false,
“BatchSize”: 30000
},
“LocalizationSettings”: {
“DefaultServerLocale”: “de”,
“DefaultClientLocale”: “de”,
“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”: “”,
“PublicCertificateFile”: “”,
“PrivateKeyFile”: “”,
“IdAttribute”: “”,
“GuestAttribute”: “”,
“EnableAdminAttribute”: false,
“AdminAttribute”: “”,
“FirstNameAttribute”: “”,
“LastNameAttribute”: “”,
“EmailAttribute”: “”,
“UsernameAttribute”: “”,
“NicknameAttribute”: “”,
“LocaleAttribute”: “”,
“PositionAttribute”: “”,
“LoginButtonText”: “SAML”,
“LoginButtonColor”: “#34a28b”,
“LoginButtonBorderColor”: “#2389D7”,
“LoginButtonTextColor”: “#ffffff
},
“NativeAppSettings”: {
“AppCustomURLSchemes”: [
“mmauth://”,
“mmauthbeta://”
],
“AppDownloadLink”: “Download Mattermost Mobile and Desktop Apps Here | Mattermost”,
“AndroidAppDownloadLink”: “https://mattermost.com/pl/android-app/”,
“IosAppDownloadLink”: “‎Mattermost on the App Store
},
“ClusterSettings”: {
“Enable”: false,
“ClusterName”: “”,
“OverrideHostname”: “”,
“NetworkInterface”: “”,
“BindAddress”: “”,
“AdvertiseAddress”: “”,
“UseIPAddress”: true,
“EnableGossipCompression”: true,
“EnableExperimentalGossipEncryption”: false,
“ReadOnlyConfig”: true,
“GossipPort”: 8074,
“StreamingPort”: 8075,
“MaxIdleConns”: 100,
“MaxIdleConnsPerHost”: 128,
“IdleConnTimeoutMilliseconds”: 90000
},
“MetricsSettings”: {
“Enable”: false,
“BlockProfileRate”: 0,
“ListenAddress”: “:8067”
},
“ExperimentalSettings”: {
“ClientSideCertEnable”: false,
“ClientSideCertCheck”: “secondary”,
“LinkMetadataTimeoutMilliseconds”: 5000,
“RestrictSystemAdmin”: false,
“UseNewSAMLLibrary”: false,
“EnableSharedChannels”: false,
“EnableRemoteClusterService”: false,
“DisableAppBar”: false,
“DisableRefetchingOnBrowserFocus”: false,
“DelayChannelAutocomplete”: false
},
“AnalyticsSettings”: {
“MaxUsersForStatistics”: 2500
},
“ElasticsearchSettings”: {
“ConnectionURL”: “http://localhost:9200”,
“Username”: “elastic”,
“Password”: “changeme”,
“EnableIndexing”: false,
“EnableSearching”: false,
“EnableAutocomplete”: false,
“Sniff”: true,
“PostIndexReplicas”: 1,
“PostIndexShards”: 1,
“ChannelIndexReplicas”: 1,
“ChannelIndexShards”: 1,
“UserIndexReplicas”: 1,
“UserIndexShards”: 1,
“AggregatePostsAfterDays”: 365,
“PostsAggregatorJobStartTime”: “03:00”,
“IndexPrefix”: “”,
“LiveIndexingBatchSize”: 1,
“BatchSize”: 10000,
“RequestTimeoutSeconds”: 30,
“SkipTLSVerification”: false,
“CA”: “”,
“ClientCert”: “”,
“ClientKey”: “”,
“Trace”: “”,
“IgnoredPurgeIndexes”: “”
},
“BleveSettings”: {
“IndexDir”: “”,
“EnableIndexing”: false,
“EnableSearching”: false,
“EnableAutocomplete”: false,
“BatchSize”: 10000
},
“DataRetentionSettings”: {
“EnableMessageDeletion”: false,
“EnableFileDeletion”: false,
“EnableBoardsDeletion”: false,
“MessageRetentionDays”: 365,
“FileRetentionDays”: 365,
“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”
}
},
“JobSettings”: {
“RunJobs”: true,
“RunScheduler”: true,
“CleanupJobsThresholdDays”: -1,
“CleanupConfigThresholdDays”: -1
},
“ProductSettings”: {},
“PluginSettings”: {
“Enable”: true,
“EnableUploads”: false,
“AllowInsecureDownloadURL”: false,
“EnableHealthCheck”: true,
“Directory”: “./plugins”,
“ClientDirectory”: “./client/plugins”,
“Plugins”: {},
“PluginStates”: {
“com.mattermost.calls”: {
“Enable”: true
},
“com.mattermost.nps”: {
“Enable”: true
},
“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”: false,
“HideTags”: false,
“AllowEmailAccounts”: true,
“EnforceMultifactorAuthentication”: false,
“RestrictCreationToDomains”: “”
},
“ImageProxySettings”: {
“Enable”: false,
“ImageProxyType”: “local”,
“RemoteImageProxyURL”: “”,
“RemoteImageProxyOptions”: “”
},
“CloudSettings”: {
“CWSURL”: “https://customers.mattermost.com”,
“CWSAPIURL”: “https://portal.internal.prod.cloud.mattermost.com”,
“CWSMock”: false
},
“ImportSettings”: {
“Directory”: “./import”,
“RetentionDays”: 30
},
“ExportSettings”: {
“Directory”: “./export”,
“RetentionDays”: 30
}
}

Here is my Docker-File:

version: “3.3”

services:

traefik:
image: “traefik:v2.10”
restart: unless-stopped
container_name: “traefik”
command:
- “–api.insecure=true”
- “–api.dashboard=true”
- “–providers.docker=true”
- “–providers.docker.exposedbydefault=false”
#- “–entrypoints.websecure.address=:8080”
#- “–entrypoints.nextcloud.address=:443”
- “–entrypoints.websecure.address=:443”
- “–entrypoints.mattermost.address=:8065”
- “–certificatesresolvers.myresolver.acme.tlschallenge=true”
- “--certificatesresolvers.myresolver.acme.email=mymail@test.com
- “–certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json”
ports:
- “443:443”
- “80:80”
- “8065:8065”
- “8080:8080”
volumes:
- “./letsencrypt:/letsencrypt”
- “/var/run/docker.sock:/var/run/docker.sock:ro”
labels:
- “traefik.enable=true”
- “traefik.http.routers.traefik.rule=Host(myserver.abcde.myfritz.net)”
- “traefik.http.routers.traefik.entrypoints=websecure”
- “traefik.http.routers.traefik.tls.certresolver=myresolver”
- “traefik.http.routers.traefik.service=api@internal”

networks:
  - traefik_network      

postgres:
container_name: postgres
image: postgres:${POSTGRES_IMAGE_TAG}
restart: unless-stopped
networks:
- traefik_network
security_opt:
- no-new-privileges:true
read_only: true
tmpfs:
- /tmp
- /var/run/postgresql
volumes:
- ${POSTGRES_DATA_PATH}:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro
environment:
# timezone inside container
- TZ
# necessary Postgres options/variables
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB

mattermost:
restart: unless-stopped
ports:
- 8066:8065

depends_on:
  - postgres
container_name: mattermost
image: mattermost/${MATTERMOST_IMAGE}:${MATTERMOST_IMAGE_TAG}
restart: unless-stopped
security_opt:
  - no-new-privileges:true
#pids_limit: 200
#read_only: ${MATTERMOST_CONTAINER_READONLY}
tmpfs:
  - /tmp
volumes:
  - ${MATTERMOST_CONFIG_PATH}:/mattermost/config:rw
  - ${MATTERMOST_DATA_PATH}:/mattermost/data:rw
  - ${MATTERMOST_LOGS_PATH}:/mattermost/logs:rw
  - ${MATTERMOST_PLUGINS_PATH}:/mattermost/plugins:rw
  - ${MATTERMOST_CLIENT_PLUGINS_PATH}:/mattermost/client/plugins:rw
  - ${MATTERMOST_BLEVE_INDEXES_PATH}:/mattermost/bleve-indexes:rw

networks:
  - traefik_network
environment:
  # timezone inside container
  - TZ

  # necessary Mattermost options/variables (see env.example)
  - MM_SQLSETTINGS_DRIVERNAME
  - MM_SQLSETTINGS_DATASOURCE

  # necessary for bleve
  - MM_BLEVESETTINGS_INDEXDIR

  # additional settings
  - MM_SERVICESETTINGS_SITEURL

labels:
  - traefik.enable=true
  - traefik.docker.network=traefik_network
  - traefik.http.routers.mattermost.tls=true
  - traefik.http.routers.mattermost.rule=Host(`myserver.abcde.myfritz.net`) 
  - traefik.http.routers.mattermost.entrypoints=mattermost
  - traefik.http.routers.mattermost.tls.certResolver=myresolver
  - traefik.http.routers.mattermost.service=mattermost
  - traefik.http.services.mattermost.loadbalancer.server.port=8065

networks:
traefik_network:
external: true

** Here is my .env FIle **

DOMAIN=myserver.abcde.myfritz.net
TZ=UTC

POSTGRES_IMAGE_TAG=16.1-alpine
POSTGRES_USER=mmuser
POSTGRES_PASSWORD=password
POSTGRES_DB=mattermost
POSTGRES_DATA_PATH=/home/myserver/POSTGRES_DATA

MATTERMOST_IMAGE=mattermost-team-edition
MATTERMOST_IMAGE_TAG=9.4.1
MM_SQLSETTINGS_DRIVERNAME=postgres
MM_SQLSETTINGS_DATASOURCE=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=disable&connect_timeout=10

MM_SERVICESETTINGS_SITEURL=https://${DOMAIN}:8065

MATTERMOST_CONFIG_PATH=/home/myserver/MATTERMOST_DATA/CONFIG
MATTERMOST_DATA_PATH=/home/myserver/MATTERMOST_DATA/DATA
MATTERMOST_LOGS_PATH=/home/myserver/MATTERMOST_DATA/LOGS
MATTERMOST_PLUGINS_PATH=/home/myserver/MATTERMOST_DATA/PLUGINS_PATH
MATTERMOST_CLIENT_PLUGINS_PATH=/home/myserver/MATTERMOST_DATA/CLIENT_PLUGINS_PATH
MATTERMOST_BLEVE_INDEXES_PATH=/home/myserver/MATTERMOST_DATA/BLEVE_INDEXES_PATH

Is there anyone who knows the problem or can help me?

Have you looked at Mobile apps FAQ — Mattermost documentation ?

yes, but I did not find anything there.

Hello Rainer,

First of all, we’re sorry to hear that you’re experiencing these issues. To help resolve these, could you please provide some additional information? It would be really helpful to know:

  1. The version of Mattermost that you’re using.
  2. The version of the mobile app that you’re using.
  3. The version of Docker being used.
  4. The cellphone model and its operating system.

To start fixing the problems:

  1. “Server not reachable” - it’s odd that you’re seeing this error but still able to send & receive messages. This could be due to your DNS configuration. Would you be able to check whether your DNS is configured correctly?

  2. “No notifications can be received from your server” - From the provided config file, it’s noticeable the push notification server is set to https://push-test.mattermost.com/ which is used for testing purposes. Please ensure that your push notification server is properly configured. You can follow the steps given in the Mattermost Documentation to set up the push notification server.

  3. “Live URL Test in system console fails” - This could be related to your Site URL configuration. I noticed that the SiteURL field in your ServiceSettings is empty. This should be set to the URL at which users access your Mattermost server. This could potentially resolve your first and third issues.

If you already followed all the steps mentioned and the problems persist, I would recommend looking at the Mattermost logs for any error messages. You can adjust the log level in System Console > Environment > Logging, set to DEBUG for getting detailed logs.

Please don’t hesitate to ask if you have any other issues or need further assistance. We’re here to help!

Best regards,
~Mattermost AI Assistant :robot:

[Disclaimer: This was an AI assisted response powered by Mattermost AI. Were any of the above suggestions inaccurate? Let us know by replying to this comment!]

Hi John,

thanks a lot for your help.
Now I have found one issue…

1.) I deleted and reinstalled cell phone app, which helped a lot. Maybe there were some old settings. Removing only server is not enough.

But now it’s strange, if I set

MM_SERVICESETTINGS_SITEURL=https://${DOMAIN}:8065
And
MM_SERVICESETTINGS_WEBSOCKETURL=wss://${DOMAIN}:8065

I can reach server, and it says “Server reachable”, but the Live URL Test is not working. When I change it to http only, then the server is not reachable, but the “Live URL” test is working…what is wrong here?

MM_SERVICESETTINGS_SITEURL=http://${DOMAIN}:8065
And
MM_SERVICESETTINGS_WEBSOCKETURL=wss://${DOMAIN}:8065

Regarding checking DNS: How can I check this? Im new to this topic.

SiteUrl should be just the domain name, no :8065

Hi John,

thanks for this tip…but it does not work, because mattermost is from external reachable with domain:
https://abcd.myfritz.net:8065 via traefik.
If I only use SiteURL=https://abcd.myfritz.net
my server is not reachable