Change-Id: I73cb2379a8fad6b759c0cba4c4b4703c60a1e087
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
EXPOSE 80
+HEALTHCHECK --start-period=130s --interval=10s --timeout=5s --retries=12 \
+ CMD curl --silent --fail localhost:80 || exit 1
+
CMD ["supervisord", "-n"]
#!/bin/sh
WAIT_TIME=340 # LCM healthcheck needs 2x(30+140) senconds
-SERVICES_WITH_HEALTH="nbi ro zookeeper lcm mon"
+SERVICES_WITH_HEALTH="nbi ro zookeeper lcm mon light-ui"
NUM_SERVICES_WITH_HEALTH=$(echo $SERVICES_WITH_HEALTH | wc -w)
WAIT_FINAL=30