Update file
This commit is contained in:
22
deploy.sh
22
deploy.sh
@ -34,6 +34,13 @@ if [ ! -f .env ]; then
|
||||
echo "⚠️ Please edit .env file with your configuration before continuing!"
|
||||
echo " Required: DISCORD_TOKEN, CLIENT_ID, GUILD_ID, POSTGRES_PASSWORD"
|
||||
echo " Optional: GOOGLE_TRANSLATE_API_KEY for premium translations"
|
||||
echo ""
|
||||
echo "🔧 UPDATED PORTS (Conflict-free):"
|
||||
echo " Dashboard: http://localhost:3010 (changed from 3000)"
|
||||
echo " PostgreSQL: localhost:5434 (changed from 5432)"
|
||||
echo " pgAdmin: http://localhost:8085 (changed from 8080)"
|
||||
echo " Redis Commander: http://localhost:8086 (changed from 8081)"
|
||||
echo ""
|
||||
read -p "Press Enter after you've configured .env file..."
|
||||
fi
|
||||
|
||||
@ -120,19 +127,20 @@ echo "Services running: $healthy/${#services[@]}"
|
||||
if [ $healthy -eq ${#services[@]} ]; then
|
||||
echo "🎉 All services are running successfully!"
|
||||
echo ""
|
||||
echo "🌐 Dashboard URL: http://localhost:3000"
|
||||
echo "🎤 Whisper API: http://localhost:8001"
|
||||
echo "🌍 Translation API: http://localhost:8002"
|
||||
echo "🌐 UPDATED ACCESS URLS (Conflict-free):"
|
||||
echo " Dashboard: http://localhost:3010"
|
||||
echo " Whisper API: http://localhost:8001"
|
||||
echo " Translation API: http://localhost:8002"
|
||||
echo ""
|
||||
echo "📋 Next Steps:"
|
||||
echo "1. Open the dashboard: http://localhost:3000"
|
||||
echo "1. Open the dashboard: http://localhost:3010"
|
||||
echo "2. Invite your Discord bot to a server"
|
||||
echo "3. Join a voice channel and use /join command"
|
||||
echo "4. Start speaking and watch real-time translations!"
|
||||
echo ""
|
||||
echo "🔧 Admin Interfaces (optional):"
|
||||
echo " PostgreSQL: http://localhost:8080 (pgAdmin)"
|
||||
echo " Redis: http://localhost:8081 (Redis Commander)"
|
||||
echo " PostgreSQL: http://localhost:8085 (pgAdmin)"
|
||||
echo " Redis: http://localhost:8086 (Redis Commander)"
|
||||
echo " Start with: docker-compose --profile admin up -d"
|
||||
echo ""
|
||||
echo "📖 Documentation: Check README.md for detailed usage"
|
||||
@ -143,7 +151,7 @@ else
|
||||
echo "1. Check logs: docker-compose logs"
|
||||
echo "2. Verify .env configuration"
|
||||
echo "3. Ensure NVIDIA runtime is installed for GPU support"
|
||||
echo "4. Check port conflicts: netstat -tulpn | grep -E ':(3000|5432|6379|8001|8002)'"
|
||||
echo "4. Check port conflicts: netstat -tulpn | grep -E ':(3010|5434|6379|8001|8002)'"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
|
Reference in New Issue
Block a user