|
@@ -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
|