Quellcode durchsuchen

Merge branch 'v1.1' of https://git.in-ulm.de/ulpeters/ejabberd into v1.1

Dominik vor 2 Jahren
Ursprung
Commit
bee606d42a
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      docker-compose.yml

+ 2 - 1
docker-compose.yml

@@ -21,7 +21,8 @@ services:
     command: foreground
     command: foreground
 
 
     healthcheck:
     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
       interval: 15s #interval for the first and subsequent checks
       timeout: 10s
       timeout: 10s
       retries: 3
       retries: 3