all-in-one/Containers/whiteboard/healthcheck.sh
Simon L. 1691a19036 make redis port configurable
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-12-08 15:47:28 +01:00

4 lines
88 B
Bash

#!/bin/bash
nc -z "$REDIS_HOST" "$REDIS_PORT" || exit 0
nc -z 127.0.0.1 3002 || exit 1