zokradonh / kopano-docker

Unofficial Kopano Docker images for all Kopano services.
MIT License
59 stars 37 forks source link

Two Containers shows as unhealthy when I check with "docker ps" #343

Closed theoneandonly-vector closed 4 years ago

theoneandonly-vector commented 4 years ago

Describe the bug Two Containers shows as unhealthy when I check with "docker ps" kustomerd & kopano_webapp

Output of docker-compose logs $kustomerd:

web_1               | 172.23.0.12 - - [27/Feb/2020:08:39:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:39:07 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.11 - - [27/Feb/2020:08:39:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.11 - - [27/Feb/2020:08:39:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:39:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:39:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:39:19 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 70
web_1               | 27/Feb/2020:08:39:21 +0000 [ERROR 499 /Microsoft-Server-ActiveSync] context canceled
web_1               | 52.97.148.237 - - [27/Feb/2020:08:39:21 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 499 5
web_1               | 52.97.148.237 - - [27/Feb/2020:08:39:21 +0000] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=Options&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 0
web_1               | 52.97.148.237 - - [27/Feb/2020:08:39:21 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 63
web_1               | 52.97.148.237 - - [27/Feb/2020:08:39:22 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Settings&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 43
web_1               | 213.221.251.19 - - [27/Feb/2020:08:39:50 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 70
web_1               | 172.23.0.12 - - [27/Feb/2020:08:40:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:40:07 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.11 - - [27/Feb/2020:08:40:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.11 - - [27/Feb/2020:08:40:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:40:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:40:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:40:20 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 213.221.251.19 - - [27/Feb/2020:08:40:50 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 172.23.0.12 - - [27/Feb/2020:08:41:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:41:07 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.11 - - [27/Feb/2020:08:41:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.11 - - [27/Feb/2020:08:41:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:41:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:41:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
root@mail:/opt/kopano-docker#

Output of docker-compose logs $kopano_webapp::

0" 200 70
web_1               | 27/Feb/2020:08:37:20 +0000 [ERROR 499 /Microsoft-Server-ActiveSync] context canceled
web_1               | 52.97.148.237 - - [27/Feb/2020:08:37:20 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 499 5
web_1               | 52.97.148.237 - - [27/Feb/2020:08:37:20 +0000] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=Options&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 0
web_1               | 52.97.148.237 - - [27/Feb/2020:08:37:20 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 63
web_1               | 213.221.251.19 - - [27/Feb/2020:08:37:48 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 70
web_1               | 172.23.0.12 - - [27/Feb/2020:08:38:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:38:07 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.11 - - [27/Feb/2020:08:38:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.11 - - [27/Feb/2020:08:38:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.4 - - [27/Feb/2020:08:38:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:38:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:38:19 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 70
web_1               | 178.197.238.40 - - [27/Feb/2020:08:38:26 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=test.user%40domain.tld&DeviceId=androidc1477015955&DeviceType=Android HTTP/1.1" 200 37
web_1               | 213.221.251.19 - - [27/Feb/2020:08:38:46 +0000] "GET /signin/v1/identifier/_/authorize?client_id=webapp&redirect_uri=https%3A%2F%2Fmail.domain.tld%2Fwebapp%2F%3Foidc-silent-refresh&response_type=id_token%20token&scope=openid%20profile%20email%20kopano%2Fgc&state=2e948ae43bfe4576a0e2e9a62ef4d0d5&nonce=024446254ed0449494431e2f41f83ff2&prompt=none&id_token_hint=eyJhbGciOiJQUzI1NiIsImtpZCI6Imtvbm5lY3RkLXRva2Vucy1zaWduaW5nLWtleSIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ3ZWJhcHAiLCJleHAiOjE1ODI3OTYxNDUsImlhdCI6MTU4Mjc5MjU0NSwiaXNzIjoiaHR0cHM6Ly9tYWlsLm5ldXRyb25peC5jaCIsInN1YiI6InhrSFlkdDBHa1E0dzVHMGFTeEU2LUVyNWloS3FVa2VEb3BPeDRseGlnNWp0ajN2UmMtYXJzRmduSE5OWHgyVlgyeU8zUFY1eFNwOV9ZMzVvaGIyZ0N3QGtvbm5lY3QiLCJub25jZSI6IjU2Zjk3MzBiYzU2NDRiZjdiMDk3NjZjN2E0ZmUwN2I2IiwiYXRfaGFzaCI6ImJ3eWo0TFBhNDV4cEhzX0VhdjJmbmciLCJzaWQiOiJSem03ZnhJa0x2Z3NmTzlveTl4OC1vdVdGdVNxUjYzeEdvbU9RcF9Yajk0PSJ9.T4XCluGI6Ka52zPxBmnYcaIZnjx0oDW6_nGxCG-e38STwlI3QSoXhhc5hTInXMaejJAhR3nn5WWAxhFrPnrLzrvPj34erPr8gcXPF7UzNCPCQODXSh1QINYN_3wfJL-ZcPnM70ycsEJ5Mkx5RpYgY8QLbeVagdhFANIEgB-nM47BV-xYB7tuguCcWanfH-_ezjAlAxjsVa-v5qnfQAsaNIvoYzRjxo81oNBtnb1MPtdsJMqfg8EH7Mp-Q0e0rk8xng7s91LnDTUqCB7I3a89GTZEUEAISiKOpZpLkAnTANzB7qzp3d-EKBy3roYAFPbCiALvgyBCvAFE1J3MXP4iUZtTusVds4uYg6fyOncLsjhyNEXJZzNBMvHjsXLuWiKT80PPZmK11J2TDd6I7ZWC4iisSDt0cd0IJTp-XJXL4ykfjictsUhWnaRIW0MRcL-jcVerJvrVSyQDJK2koQTEB-0913OGrCUkiMdzCV6bGTXRd9otlrCyrDNDpLoD6fLU8mBSW1HaFyJ3eM-lBKBUo9BdqOD1jwjb0kETVVuSUAiGFuF3-7TdkFJPLkhskkDFAIIwIKj4OGwW9GjGJuMIfqQuM5GSu3Dj00JVEw04GI0w8fUfdQ-VxBoUVEcWOEgrtomgTxmsuIEThscabGWPk9Q8DXa68COcDzzUTqttA6c HTTP/2.0" 302 23
web_1               | 213.221.251.19 - - [27/Feb/2020:08:38:47 +0000] "GET /webapp/?oidc-silent-refresh HTTP/2.0" 200 537234
web_1               | 213.221.251.19 - - [27/Feb/2020:08:38:47 +0000] "GET /konnect/v1/userinfo HTTP/2.0" 200 290
web_1               | 213.221.251.19 - - [27/Feb/2020:08:38:47 +0000] "POST /webapp/kopano.php?service=token HTTP/2.0" 200 155
web_1               | 213.221.251.19 - - [27/Feb/2020:08:38:49 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 70
web_1               | 172.23.0.12 - - [27/Feb/2020:08:39:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:39:07 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.11 - - [27/Feb/2020:08:39:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.11 - - [27/Feb/2020:08:39:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:39:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:39:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:39:19 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 70
web_1               | 27/Feb/2020:08:39:21 +0000 [ERROR 499 /Microsoft-Server-ActiveSync] context canceled
web_1               | 52.97.148.237 - - [27/Feb/2020:08:39:21 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 499 5
web_1               | 52.97.148.237 - - [27/Feb/2020:08:39:21 +0000] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=Options&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 0
web_1               | 52.97.148.237 - - [27/Feb/2020:08:39:21 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 63
web_1               | 52.97.148.237 - - [27/Feb/2020:08:39:22 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Settings&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 43
web_1               | 213.221.251.19 - - [27/Feb/2020:08:39:50 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 70
web_1               | 172.23.0.12 - - [27/Feb/2020:08:40:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:40:07 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.11 - - [27/Feb/2020:08:40:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.11 - - [27/Feb/2020:08:40:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:40:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:40:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:40:20 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 213.221.251.19 - - [27/Feb/2020:08:40:50 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 172.23.0.12 - - [27/Feb/2020:08:41:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:41:07 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.11 - - [27/Feb/2020:08:41:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.11 - - [27/Feb/2020:08:41:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:41:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:41:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:41:20 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 213.221.251.19 - - [27/Feb/2020:08:41:48 +0000] "GET /signin/v1/identifier/_/authorize?client_id=webapp&redirect_uri=https%3A%2F%2Fmail.domain.tld%2Fwebapp%2F%3Foidc-silent-refresh&response_type=id_token%20token&scope=openid%20profile%20email%20kopano%2Fgc&state=6a56ab8326b94c67b826af52c92a7630&nonce=8b31686b7aeb472bb89d45cefc50225c&prompt=none&id_token_hint=eyJhbGciOiJQUzI1NiIsImtpZCI6Imtvbm5lY3RkLXRva2Vucy1zaWduaW5nLWtleSIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ3ZWJhcHAiLCJleHAiOjE1ODI3OTYzMjYsImlhdCI6MTU4Mjc5MjcyNiwiaXNzIjoiaHR0cHM6Ly9tYWlsLm5ldXRyb25peC5jaCIsInN1YiI6InhrSFlkdDBHa1E0dzVHMGFTeEU2LUVyNWloS3FVa2VEb3BPeDRseGlnNWp0ajN2UmMtYXJzRmduSE5OWHgyVlgyeU8zUFY1eFNwOV9ZMzVvaGIyZ0N3QGtvbm5lY3QiLCJub25jZSI6IjAyNDQ0NjI1NGVkMDQ0OTQ5NDQzMWUyZjQxZjgzZmYyIiwiYXRfaGFzaCI6Ilk3dGYzOG5hQ290d2ZlMnFZelBsekEiLCJzaWQiOiJSem03ZnhJa0x2Z3NmTzlveTl4OC1vdVdGdVNxUjYzeEdvbU9RcF9Yajk0PSJ9.V2NhvMPtrsk6bOP3Rnuse0rEQJkZ4gIuQ6JKZPJDlMWJy6vTcgCuFMxzuwYNHL2KgvaFN5b7bwYIgsn-PhQdfJtHIujcJEyuaWgszCdIp2o3jlCRxZRl6eQL5guRnkMlJdECBSTWRCAXkyAL7ib3jqB4GufKgk-1wnaiP7IQBKIkY2RwuLy2eaKLDz-j03_DpuzYtyza1qI9yQQu02f-2jqvs9P_41O5qe0veHEoSASrPzjSKAwCetjawUCOSr5O9vVcWnLONiMEjDwGpsWgB2mfAVaFUAQgs-8qpZUjoeMcOYQfwl2rBsbffpy8EIIL7WXgXJ1pwMBqhZNeBZMRlpEm-Y0ApAszTTPwHyBDR2ng2poEykFVwL_oCYoWp-3RTdJBasJW83M3xU9CqL8YWPidJo4DZbQAaHxuXnIGBJc9xex2cfFtpEiLwktqR4sGF76bLmKrW4v7VnNZVAV2cvrfuO3GczjPXdjSVgTjljJ9sNw3tFRCwiHYhCrVo2nIxpgVnwEkwAvGPZqu6TamTfdM-zWOGNAat8EvGlR5c0hdsSnFM3VgenQzZ9XPUH_22x0C9aWIYK4DQzCMTsVb3MW3_rJknpwd_sFwf3vOsjobSk7_RugqalQ4i7vjTkOmPUyhzgbc5VZRQ-ut7g1hhGm6vPsjrKUzlbaLZxpflYI HTTP/2.0" 302 23
web_1               | 213.221.251.19 - - [27/Feb/2020:08:41:51 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 213.221.251.19 - - [27/Feb/2020:08:41:52 +0000] "GET /webapp/?oidc-silent-refresh HTTP/2.0" 200 537234
web_1               | 213.221.251.19 - - [27/Feb/2020:08:41:52 +0000] "GET /konnect/v1/userinfo HTTP/2.0" 200 290
web_1               | 213.221.251.19 - - [27/Feb/2020:08:41:52 +0000] "POST /webapp/kopano.php?service=token HTTP/2.0" 200 155
web_1               | 172.23.0.11 - - [27/Feb/2020:08:42:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:42:08 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:42:08 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.11 - - [27/Feb/2020:08:42:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.4 - - [27/Feb/2020:08:42:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:42:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 699
web_1               | 52.97.148.237 - - [27/Feb/2020:08:42:22 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 13
web_1               | 62.2.200.66 - - [27/Feb/2020:08:42:22 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=muster.user2%40domain.tld&DeviceId=androidc726107721&DeviceType=Android HTTP/1.1" 200 87
web_1               | 213.221.251.19 - - [27/Feb/2020:08:42:22 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 62.2.200.66 - - [27/Feb/2020:08:42:23 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=muster.user2%40domain.tld&DeviceId=androidc726107721&DeviceType=Android HTTP/1.1" 200 23
web_1               | 62.2.200.66 - - [27/Feb/2020:08:42:23 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=muster.user2%40domain.tld&DeviceId=androidc726107721&DeviceType=Android HTTP/1.1" 200 23
web_1               | 213.221.251.19 - - [27/Feb/2020:08:42:52 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 172.23.0.11 - - [27/Feb/2020:08:43:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:43:08 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:43:08 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.11 - - [27/Feb/2020:08:43:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:43:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:43:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:43:23 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 213.221.251.19 - - [27/Feb/2020:08:43:54 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 172.23.0.11 - - [27/Feb/2020:08:44:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:44:08 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:44:08 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.11 - - [27/Feb/2020:08:44:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.4 - - [27/Feb/2020:08:44:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:44:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:44:23 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 213.221.251.19 - - [27/Feb/2020:08:44:53 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 213.221.251.19 - - [27/Feb/2020:08:44:54 +0000] "GET /signin/v1/identifier/_/authorize?client_id=webapp&redirect_uri=https%3A%2F%2Fmail.domain.tld%2Fwebapp%2F%3Foidc-silent-refresh&response_type=id_token%20token&scope=openid%20profile%20email%20kopano%2Fgc&state=cff37f11003b465d94d237cbd103af6b&nonce=6e283fdb0c604420aa2e84b1c5a3f5ef&prompt=none&id_token_hint=eyJhbGciOiJQUzI1NiIsImtpZCI6Imtvbm5lY3RkLXRva2Vucy1zaWduaW5nLWtleSIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ3ZWJhcHAiLCJleHAiOjE1ODI3OTY1MDgsImlhdCI6MTU4Mjc5MjkwOCwiaXNzIjoiaHR0cHM6Ly9tYWlsLm5ldXRyb25peC5jaCIsInN1YiI6InhrSFlkdDBHa1E0dzVHMGFTeEU2LUVyNWloS3FVa2VEb3BPeDRseGlnNWp0ajN2UmMtYXJzRmduSE5OWHgyVlgyeU8zUFY1eFNwOV9ZMzVvaGIyZ0N3QGtvbm5lY3QiLCJub25jZSI6IjhiMzE2ODZiN2FlYjQ3MmJiODlkNDVjZWZjNTAyMjVjIiwiYXRfaGFzaCI6ImdteVFGZGhQLUY0TkNicDBPR0tweXciLCJzaWQiOiJSem03ZnhJa0x2Z3NmTzlveTl4OC1vdVdGdVNxUjYzeEdvbU9RcF9Yajk0PSJ9.SO2INZYr8czMa3K-b8F_YXy-V6cK1JqHB_9EprWkVbm5QvMSNeFPuRRAZNqYFpz2C_MGzjvN1pS58f-8d90M4fe-4LyC5rWryl8rGHCi85km0HIZbAHGQiBHOG3Lxx2LL59bmVuWN1y5uoDrI9ci9HerCeoNZIn-eVk6DBE6ZgIYi8O_hAWLlcc9cXRs1nibLalu8LF_jrZ7nnp0w5_ka59efCcFzw4WKwXv1rPMLszp230MTYIryffD5zI9GCG35XsTJ7_AZ4CGvJckTLjRDCuUteuJla25raHgcOGFevSPZivkW_0yJpa-MmNdgAXRipUkqY6PF1mhi4N5p_TJx6mkTVvIjTmQYoiXqSB9qcLL4B_F-iDvE7l2s7xalk5ma7wYAVQrYSbak7B1jbPYIDehFNFB801j9H3tV17B8iV-yPXI_qBf80MaXRekmQb4KzTbfeu94Gj9cMcdTE5gJj2Bz0ltX9WFoJdzjVNJWNtZCyB3ZQPrUs0PLxBgMK9TeDGmS5HxM2M8vSeJu_dgnPsjXSX8CznpS01orfA7LddZ8IvtY6G0RjekTc_6I1Hm1rr2RhMAKwSWagUUmb5bjGkOt-BmsOj4OHmd0QXSgGfBCnn5kFIg0zsfVtXDFiNNjzkEguSghhZP44rYOS_Po9QDK49hMBsp4MzlWU45Avk HTTP/2.0" 302 23
web_1               | 213.221.251.19 - - [27/Feb/2020:08:44:54 +0000] "GET /webapp/?oidc-silent-refresh HTTP/2.0" 200 537234
web_1               | 213.221.251.19 - - [27/Feb/2020:08:44:54 +0000] "GET /konnect/v1/userinfo HTTP/2.0" 200 290
web_1               | 213.221.251.19 - - [27/Feb/2020:08:44:54 +0000] "POST /webapp/kopano.php?service=token HTTP/2.0" 200 155
web_1               | 172.23.0.11 - - [27/Feb/2020:08:45:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:45:08 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:45:08 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.11 - - [27/Feb/2020:08:45:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:45:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:45:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 52.97.148.237 - - [27/Feb/2020:08:45:22 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=muster.user1&DeviceId=b991bdfb6ddc4bddb0e0bd2c7bbfe63a&DeviceType=Outlook HTTP/1.1" 200 13
web_1               | 213.221.251.19 - - [27/Feb/2020:08:45:23 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 62.2.200.66 - - [27/Feb/2020:08:45:34 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=info%40domain.tld&DeviceId=androidc726107721&DeviceType=Android HTTP/1.1" 200 87
web_1               | 62.2.200.66 - - [27/Feb/2020:08:45:34 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=info%40domain.tld&DeviceId=androidc726107721&DeviceType=Android HTTP/1.1" 200 23
web_1               | 62.2.200.66 - - [27/Feb/2020:08:45:35 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=info%40domain.tld&DeviceId=androidc726107721&DeviceType=Android HTTP/1.1" 200 23
web_1               | 213.221.251.19 - - [27/Feb/2020:08:45:54 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 172.23.0.11 - - [27/Feb/2020:08:46:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:46:08 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:46:08 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 699
web_1               | 172.23.0.11 - - [27/Feb/2020:08:46:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:46:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:46:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:46:24 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 213.221.251.19 - - [27/Feb/2020:08:46:49 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 67
web_1               | 213.221.251.19 - - [27/Feb/2020:08:46:54 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71
web_1               | 172.23.0.11 - - [27/Feb/2020:08:47:07 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:47:08 +0000] "GET /.well-known/openid-configuration HTTP/1.1" 200 544
web_1               | 172.23.0.12 - - [27/Feb/2020:08:47:08 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.11 - - [27/Feb/2020:08:47:09 +0000] "GET /konnect/v1/jwks.json HTTP/1.1" 200 702
web_1               | 172.23.0.4 - - [27/Feb/2020:08:47:09 +0000] "GET /.well-known/openid-configuration HTTP/2.0" 200 544
web_1               | 172.23.0.4 - - [27/Feb/2020:08:47:09 +0000] "GET /konnect/v1/jwks.json HTTP/2.0" 200 702
web_1               | 213.221.251.19 - - [27/Feb/2020:08:47:24 +0000] "POST /webapp/kopano.php?subsystem=webapp_1582790564671 HTTP/2.0" 200 71

To Reproduce Docker version 19.03.5, build 633a0ea838 docker-compose version 1.25.4, build 8d51620a

my docker-compose config:

networks:
  kopano-net:
    driver: bridge
  web-net: {}
services:
  db:
    container_name: kopano_db
    environment:
      MYSQL_DATABASE: kopano
      MYSQL_PASSWORD: *****************************
      MYSQL_ROOT_PASSWORD: *****************************
      MYSQL_USER: kopano
    healthcheck:
      interval: 30s
      retries: 4
      test:
      - CMD-SHELL
      - mysql --database=$$MYSQL_DATABASE --password=$$MYSQL_ROOT_PASSWORD --execute="SELECT
        count(table_name) > 0 FROM information_schema.tables;" --skip-column-names
        -B
      timeout: 10s
    image: mariadb:10.3.10-bionic
    networks:
      kopano-net: {}
    restart: unless-stopped
    volumes:
    - mysql:/var/lib/mysql:rw
  kopano_dagent:
    depends_on:
    - kopano_server
    environment:
      KCCONF_DAGENT_LOG_LEVEL: '3'
      KCCONF_DAGENT_SSLKEY_FILE: /kopano/ssl/kopano_dagent.pem
      SERVICE_TO_START: dagent
      TZ: Europe/Zurich
    image: zokradonh/kopano_core:latest
    networks:
      kopano-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_gateway:
    depends_on:
    - kopano_server
    environment:
      KCCONF_GATEWAY_LOG_LEVEL: '3'
      KCCONF_GATEWAY_SERVER_SOCKET: http://kopano_server:236/
      SERVICE_TO_START: gateway
      TZ: Europe/Zurich
    image: zokradonh/kopano_core:latest
    networks:
      kopano-net: {}
    ports:
    - published: 110
      target: 110
    - published: 143
      target: 143
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_grapi:
    container_name: kopano_grapi
    depends_on:
    - kopano_server
    environment:
      KCCONF_GRAPI_ENABLE_EXPERIMENTAL_ENDPOINTS: "no"
      KCCONF_GRAPI_INSECURE: "no"
      KCCONF_GRAPI_PERSISTENCY_PATH: /var/lib/kopano-grapi
      SERVICE_TO_START: grapi
      TZ: Europe/Zurich
    image: zokradonh/kopano_core:latest
    networks:
      kopano-net: {}
      web-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp/
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
    - kopanograpi:/var/lib/kopano-grapi:rw
  kopano_ical:
    depends_on:
    - kopano_server
    environment:
      KCCONF_ICAL_SERVER_SOCKET: http://kopano_server:236/
      SERVICE_TO_START: ical
      TZ: Europe/Zurich
    image: zokradonh/kopano_core:latest
    networks:
      kopano-net: {}
      web-net: {}
    ports:
    - published: 8080
      target: 8080
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_kapi:
    container_name: kopano_kapi
    depends_on:
    - kopano_grapi
    environment:
      KCCONF_KAPID_INSECURE: "no"
      KCCONF_KAPID_LOG_LEVEL: DEBUG
      KCCONF_KAPID_OIDC_ISSUER_IDENTIFIER: https://mail.domain.tld
      SERVICE_TO_START: kapi
      TZ: Europe/Zurich
    image: zokradonh/kopano_core:latest
    networks:
      kopano-net: {}
      web-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanodata:/kopano/data:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_kdav:
    container_name: kopano_kdav
    depends_on:
    - kopano_server
    environment:
      TZ: Europe/Zurich
    hostname: kopano_kdav
    image: zokradonh/kopano_kdav:latest
    networks:
      kopano-net: {}
      web-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /run/apache2/
    - /run/sessions/
    - /tmp
    - /var/log/kdav/
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
    - kdavstates:/var/lib/kopano/kdav:rw
  kopano_konnect:
    depends_on:
    - kopano_ssl
    - web
    environment:
      FQDN: mail.domain.tld
      allow_client_guests: "yes"
      allow_dynamic_client_registration: "yes"
      eckey: /kopano/ssl/meet-kwmserver.pem
      ecparam: /kopano/ssl/ecparam.pem
      encryption_secret_key: /kopano/ssl/konnectd-encryption.key
      identifier_registration_conf: /kopano/ssl/konnectd-identifier-registration.yaml
      identifier_scopes_conf: /etc/kopano/konnectd-identifier-scopes.yaml
      signing_private_key: /kopano/ssl/konnectd-tokens-signing-key.pem
      validation_keys_path: /kopano/ssl/konnectkeys
    image: zokradonh/kopano_konnect:latest
    networks:
      kopano-net: {}
      web-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_kustomer:
    command: serve --log-level debug
    image: kopano/kustomerd:latest
    read_only: true
    restart: unless-stopped
    volumes:
    - kopanolicenses:/etc/kopano/licenses:rw
    - /etc/machine-id:/etc/machine-id:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id\:rw
  kopano_kwmserver:
    command: wrapper.sh
    depends_on:
    - kopano_kapi
    - kopano_konnect
    environment:
      INSECURE: "no"
      enable_guest_api: "yes"
      oidc_issuer_identifier: https://mail.domain.tld
      public_guest_access_regexp: ^group/public/.*
    image: zokradonh/kopano_kwmserver:latest
    networks:
      web-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_meet:
    depends_on:
    - kopano_kapi
    - kopano_konnect
    - kopano_kwmserver
    - web
    environment:
      KCCONF_MEET_disableFullGAB: "false"
      KCCONF_MEET_guests_enabled: "true"
      KCCONF_MEET_minimumVersion: '20200121'
      KCCONF_MEET_oidc_useImplicitFlow: "true"
      SERVICE_TO_START: meet
    image: hello-world
    networks:
      web-net: {}
    read_only: true
    restart: "no"
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_monitor:
    depends_on:
    - kopano_server
    environment:
      SERVICE_TO_START: monitor
      TZ: Europe/Zurich
    image: zokradonh/kopano_core:latest
    networks:
      kopano-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_scheduler:
    container_name: kopano_scheduler
    depends_on:
    - kopano_server
    - kopano_zpush
    environment:
      CRONDELAYED_KBACKUP: 30 1 * * * docker run --rm -it --volumes-from kopano_server
        -v /root/kopano-backup:/kopano/path zokradonh/kopano_utils:latest kopano-backup
        -h
      CRONDELAYED_SOFTDELETE: 30 2 * * * docker exec kopano_server kopano-admin --purge-softdelete
        30
      CRON_KOPANOUSERS: 10 * * * * docker exec kopano_server kopano-admin --sync
      CRON_ZPUSHGAB: 0 22 * * * docker exec kopano_zpush z-push-gabsync -a sync
      TZ: Europe/Zurich
    image: zokradonh/kopano_scheduler:latest
    networks:
      kopano-net: {}
      web-net: {}
    read_only: true
    restart: "no"
    tmpfs:
    - /tmp
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock:ro
  kopano_search:
    container_name: kopano_search
    depends_on:
    - kopano_server
    environment:
      SERVICE_TO_START: search
      TZ: Europe/Zurich
    image: zokradonh/kopano_core:latest
    networks:
      kopano-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanodata:/kopano/data:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_server:
    container_name: kopano_server
    depends_on:
    - db
    - kopano_konnect
    - kopano_ssl
    environment:
      ADDITIONAL_KOPANO_PACKAGES: '""'
      KCCOMMENT_LDAP_1: '!include /usr/share/kopano/ldap.active-directory.cfg'
      KCCONF_ADMIN_DEFAULT_STORE_LOCALE: de_DE.UTF-8
      KCCONF_LDAP_LDAP_BIND_PASSWD: t9Arv9fLszEtKS498x7UGB9YZjvsQW4BzhXXNuVwKK5bhPP4
      KCCONF_LDAP_LDAP_BIND_USER: uid=kopanodockerubuntu,cn=users,dc=domain,dc=tld
      KCCONF_LDAP_LDAP_EMAILALIASES_ATTRIBUTE: MAILALTERNATIVEADDRESS
      KCCONF_LDAP_LDAP_GROUPMEMBERS_ATTRIBUTE: UNIQUEMEMBER
      KCCONF_LDAP_LDAP_GROUPMEMBERS_ATTRIBUTE_TYPE: DN
      KCCONF_LDAP_LDAP_GROUP_SEARCH_FILTER: (&(KOPANOACCOUNT=1)(OBJECTCLASS=KOPANO-GROUP))
      KCCONF_LDAP_LDAP_LOGINNAME_ATTRIBUTE: MAILPRIMARYADDRESS
      KCCONF_LDAP_LDAP_NONACTIVE_ATTRIBUTE: KOPANOSHAREDSTOREONLY
      KCCONF_LDAP_LDAP_QUOTA_MULTIPLIER: '1048576'
      KCCONF_LDAP_LDAP_SEARCH_BASE: dc=domain,dc=tld
      KCCONF_LDAP_LDAP_SENDAS_RELATION_ATTRIBUTE: UIDNUMBER
      KCCONF_LDAP_LDAP_URI: ldap://10.255.255.1:7389
      KCCONF_LDAP_LDAP_USER_SEARCH_FILTER: (KOPANOACCOUNT=1)
      KCCONF_LDAP_LDAP_USER_TYPE_ATTRIBUTE_VALUE: KOPANO-USER
      KCCONF_LDAP_LDAP_USER_UNIQUE_ATTRIBUTE: ENTRYUUID
      KCCONF_SERVER_COREDUMP_ENABLED: "no"
      KCCONF_SERVER_DISABLED_FEATURES: pop3_
      KCCONF_SERVER_ENABLE_SSO: "yes"
      KCCONF_SERVER_KCOIDC_INSECURE_SKIP_VERIFY: "no"
      KCCONF_SERVER_KCOIDC_ISSUER_IDENTIFIER: https://mail.domain.tld
      KCCONF_SERVER_MYSQL_DATABASE: kopano
      KCCONF_SERVER_MYSQL_HOST: db
      KCCONF_SERVER_MYSQL_PASSWORD: *****************************
      KCCONF_SERVER_MYSQL_PORT: '3306'
      KCCONF_SERVER_MYSQL_USER: kopano
      KCCONF_SERVER_PROXY_HEADER: '*'
      KCCONF_SERVER_SERVER_NAME: Kopano
      KCCONF_SERVER_SERVER_SSL_CA_FILE: /kopano/ssl/ca.pem
      KCCONF_SERVER_SERVER_SSL_KEY_FILE: /kopano/ssl/kopano_server.pem
      KCCONF_SERVER_SSLKEYS_PATH: /kopano/ssl/clients
      KCCONF_SERVER_SYSTEM_EMAIL_ADDRESS: postmaster@domain.tld
      KCUNCOMMENT_LDAP_1: '!include /usr/share/kopano/ldap.openldap.cfg'
      SERVICE_TO_START: server
      TZ: Europe/Zurich
    hostname: kopano_server
    image: zokradonh/kopano_core:latest
    networks:
      kopano-net: {}
      web-net: {}
    ports:
    - published: 236
      target: 236
    - published: 237
      target: 237
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp/
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanodata:/kopano/data:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_spooler:
    depends_on:
    - kopano_server
    - mail
    domainname: mail.domain.tld
    environment:
      KCCONF_SPOOLER_LOG_LEVEL: '3'
      KCCONF_SPOOLER_SMTP_SERVER: mail
      KCCONF_SPOOLER_SSLKEY_FILE: /kopano/ssl/kopano_spooler.pem
      SERVICE_TO_START: spooler
      TZ: Europe/Zurich
    hostname: spooler
    image: zokradonh/kopano_core:latest
    networks:
      kopano-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
  kopano_ssl:
    environment:
      FQDN: mail.domain.tld
      PKI_COUNTRY: NL
    image: zokradonh/kopano_ssl:latest
    read_only: true
    tmpfs:
    - /kopano/easypki/
    volumes:
    - kopanossl:/kopano/ssl:rw
  kopano_webapp:
    depends_on:
    - kopano_server
    environment:
      ADDITIONAL_KOPANO_WEBAPP_PLUGINS: '""'
      KCCONF_WEBAPP_OIDC_CLIENT_ID: webapp
      KCCONF_WEBAPP_OIDC_ISS: https://mail.domain.tld
      TZ: Europe/Zurich
    hostname: kopano_webapp
    image: zokradonh/kopano_webapp:latest
    networks:
      kopano-net: {}
      web-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /tmp/
    - /run/sessions/
    - /run/php/
    - /var/log/
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
    - kopanowebapp:/var/lib/kopano-webapp:rw
  kopano_zpush:
    container_name: kopano_zpush
    depends_on:
    - kopano_server
    environment:
      TZ: Europe/Zurich
      ZPUSH_ADDITIONAL_FOLDERS: '[]'
    hostname: kopano_zpush
    image: zokradonh/kopano_zpush:latest
    networks:
      kopano-net: {}
      web-net: {}
    read_only: true
    restart: unless-stopped
    tmpfs:
    - /run/apache2/
    - /run/sessions/
    - /tmp
    - /var/log/z-push/
    volumes:
    - /etc/machine-id:/etc/machine-id:rw
    - kopanossl:/kopano/ssl:rw
    - kopanosocket:/run/kopano:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
    - zpushstates:/var/lib/z-push:rw
  mail:
    cap_add:
    - NET_ADMIN
    - SYS_PTRACE
    container_name: kopano_mail
    domainname: domain.tld
    environment:
      DMS_DEBUG: '0'
      ENABLE_CLAMAV: '1'
      ENABLE_FAIL2BAN: '1'
      ENABLE_LDAP: '1'
      ENABLE_POSTFIX_VIRTUAL_TRANSPORT: '1'
      ENABLE_POSTGREY: '1'
      ENABLE_SASLAUTHD: '1'
      ENABLE_SPAMASSASSIN: '1'
      LDAP_BIND_DN: uid=kopanodockerubuntu,cn=users,dc=domain,dc=tld
      LDAP_BIND_PW: *****SAMEASTHEOTHERLDAPPW*****
      LDAP_QUERY_FILTER_ALIAS: (&(kopanoAccount=1)(kopanoAliases=%s))
      LDAP_QUERY_FILTER_DOMAIN: (&(|(mail=*@%s)(kopanoAliases=*@%s)))
      LDAP_QUERY_FILTER_GROUP: (&(objectclass=kopano-group)(mail=%s))
      LDAP_QUERY_FILTER_USER: (&(kopanoAccount=1)(mail=%s))
      LDAP_SEARCH_BASE: dc=domain,dc=tld
      LDAP_SERVER_HOST: ldap://10.255.255.1:7389
      ONE_DIR: '1'
      PERMIT_DOCKER: connected-networks
      POSTFIX_DAGENT: lmtp:kopano_dagent:2003
      POSTMASTER_ADDRESS: postmaster@domain.tld
      REPORT_RECIPIENT: '1'
      SASLAUTHD_LDAP_BIND_DN: uid=kopanodockerubuntu,cn=users,dc=domain,dc=tld
      SASLAUTHD_LDAP_FILTER: (&(kopanoAccount=1)(uid=%s))
      SASLAUTHD_LDAP_PASSWORD: *****SAMEASTHEOTHERLDAPPW*****
      SASLAUTHD_LDAP_SEARCH_BASE: dc=domain,dc=tld
      SASLAUTHD_LDAP_SERVER: ldap://10.255.255.1:7389
      SASLAUTHD_MECHANISMS: ldap
      SMTP_ONLY: ''
      SSL_CERT_PATH: /tmp/ssl/mail.domain.tld.crt
      SSL_KEY_PATH: /tmp/ssl/mail.domain.tld.key
      SSL_TYPE: manual
      TZ: Europe/Zurich
    hostname: mail
    image: tvial/docker-mailserver:stable
    networks:
      kopano-net: {}
    ports:
    - published: 25
      target: 25
    - published: 465
      target: 465
    - published: 587
      target: 587
    restart: unless-stopped
    volumes:
    - mtaconfig:/tmp/docker-mailserver:rw
    - /var/lib/docker/volumes/kopano_web/_data/acme/acme-v02.api.letsencrypt.org/sites/mail.domain.tld:/tmp/ssl:ro
    - log:/var/log:rw
    - maildata:/var/mail:rw
    - mailstate:/var/mail-state:rw
  web:
    command: wrapper.sh
    environment:
      DEFAULTREDIRECT: /webapp
      EMAIL: info@domain.tld
      FQDN: mail.domain.tld
    image: zokradonh/kopano_web:latest
    networks:
      web-net:
        aliases:
        - mail.domain.tld
    ports:
    - published: 80
      target: 80
    - published: 443
      target: 443
    - published: 2015
      target: 2015
    read_only: true
    restart: unless-stopped
    volumes:
    - web:/.kweb:rw
    - /etc/machine-id:/etc/machine-id:rw
    - /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:rw
version: '3.5'
volumes:
  kdavstates: {}
  kopanodata: {}
  kopanograpi: {}
  kopanolicenses: {}
  kopanosocket: {}
  kopanossl: {}
  kopanowebapp: {}
  log: {}
  maildata: {}
  mailstate: {}
  mtaconfig: {}
  mysql: {}
  ssl: {}
  web: {}
  zpushstates: {}

Expected behavior docker ps should show all containers as "healthy"

fbartels commented 4 years ago

Hi @theoneandonly-vector,

thanks for your report. Just for the record you can see the output of a health check when running for example docker inspect --format "{{json .State.Health }}" $(docker-compose ps -q kopano_kustomer) | jq. The command that is run as the health check is also part of the Dockerfile (at least for the images built by this project), you can see it for example at https://github.com/zokradonh/kopano-docker/blob/6521970f23ab6f2db8527abc53acd5ed59535514/webapp/Dockerfile#L85. These can then just be run in any running container to verify the output.

The kustomer container has a health check prepared, but not implemented. I have removed it in the upstream Dockerfile and pushed a new image with the latest tag. For webapp seems there is some breakage caused by the upgrade to buster in https://github.com/zokradonh/kopano-docker/pull/253.

I have created https://github.com/zokradonh/kopano-docker/pull/344 to fix this.

theoneandonly-vector commented 4 years ago

thank you so much :)