feat(dolibarr): deploy and verify dolibarr

This commit includes the necessary scripts and configuration to deploy and verify Dolibarr using Docker.
This commit is contained in:
2025-09-09 16:38:29 -05:00
parent 4868941c03
commit 1755f7a66e
5 changed files with 62 additions and 3 deletions

View File

@@ -1,2 +1,16 @@
#!/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