Browse Source

changed healthcheck to avoid log msg
.

dominik 1 year ago
parent
commit
bb84feddb2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docker-compose.yml

+ 2 - 1
docker-compose.yml

@@ -21,7 +21,8 @@ services:
     command: foreground
 
     healthcheck:
-      test: ["CMD", "nc", "-z", "ejabberd:5347"]
+#      test: ["CMD", "nc", "-z", "ejabberd:5347"]
+      test: /home/ejabberd/bin/ejabberdctl status | grep -q started
       interval: 15s #interval for the first and subsequent checks
       timeout: 10s
       retries: 3