livrare lot 2

This commit is contained in:
EVOTECH IT SRL 2026-07-10 03:39:53 -07:00
commit 8ecc78e729
763 changed files with 164593 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#!/bin/bash
# Start Kong in the background
/docker-entrypoint.sh kong docker-start &
KONG_PID=$!
# Wait for Kong to be ready
echo "Waiting for Kong to start..."
until kong health; do
sleep 2
done
echo "Kong is ready!"
echo "Configuration should already be imported by migrations container."
# Check current services count
SERVICE_COUNT=$(curl -s http://localhost:8001/services 2>/dev/null | grep -o '"id"' | wc -l)
echo "Current services in Kong: $SERVICE_COUNT"
# Keep Kong running in foreground
wait $KONG_PID