19 lines
444 B
Bash
Executable File
19 lines
444 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "🚀 Deploying Bakery Forecasting Platform..."
|
|
|
|
# Build and deploy all services
|
|
docker-compose build
|
|
docker-compose up -d
|
|
|
|
echo "Waiting for services to be healthy..."
|
|
sleep 30
|
|
|
|
# Check service health
|
|
echo "Checking service health..."
|
|
curl -f http://localhost:8000/health || echo "Gateway health check failed"
|
|
|
|
echo "✅ Deployment completed"
|
|
echo "Gateway: http://localhost:8000"
|
|
echo "API Docs: http://localhost:8000/docs"
|