Files
STLPWebsite/scripts/01_verify_dolibarr.sh
ReachableCEO 1755f7a66e feat(dolibarr): deploy and verify dolibarr
This commit includes the necessary scripts and configuration to deploy and verify Dolibarr using Docker.
2025-09-09 16:38:29 -05:00

16 lines
392 B
Bash
Executable File

#!/bin/bash
# Verify Dolibarr
echo "Waiting for Dolibarr to start..."
sleep 60
echo "Pinging Dolibarr..."
if curl -s http://172.31.0.2:80 | grep -q "Dolibarr"; then
echo "Dolibarr verification successful."
exit 0
else
echo "Dolibarr verification failed."
echo "Dolibarr is not responding as expected. Here is the verbose output from curl:"
curl -v http://172.31.0.2:80
exit 1
fi