|
@@ -19,6 +19,14 @@ services:
|
|
|
|
|
|
entrypoint: /home/ejabberd/entrypoint.sh
|
|
entrypoint: /home/ejabberd/entrypoint.sh
|
|
command: foreground
|
|
command: foreground
|
|
|
|
+
|
|
|
|
+ healthcheck:
|
|
|
|
+ test: ["CMD", "nc", "-z", "ejabberd:5347"]
|
|
|
|
+ interval: 1m30s
|
|
|
|
+ timeout: 10s
|
|
|
|
+ retries: 3
|
|
|
|
+ start_period: 30s
|
|
|
|
+
|
|
|
|
|
|
volumes:
|
|
volumes:
|
|
- ./entrypoint.sh:/home/ejabberd/entrypoint.sh:ro
|
|
- ./entrypoint.sh:/home/ejabberd/entrypoint.sh:ro
|