-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
37 lines (32 loc) · 937 Bytes
/
start.bat
File metadata and controls
37 lines (32 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
echo 🚀 Starting PHP ERP/CRM System...
echo ==================================
REM Check if Docker is running
docker info >nul 2>&1
if %errorlevel% neq 0 (
echo ❌ Docker is not running. Please start Docker Desktop first.
pause
exit /b 1
)
REM Start all services
echo 📦 Starting containers...
docker-compose up -d
REM Wait for services to be ready
echo ⏳ Waiting for services to be ready...
timeout /t 10 /nobreak >nul
REM Check if services are running
echo 🔍 Checking services status...
docker-compose ps
echo.
echo ✅ System started successfully!
echo.
echo 🌐 Web Application: http://localhost:8080
echo 🐰 RabbitMQ Management: http://localhost:15672 (guest/guest)
echo 🗄️ MySQL: localhost:3307 (erp_user/erp_pass)
echo.
echo 📊 Worker Status:
docker logs worker --tail 5
echo.
echo 💡 To view worker logs: docker logs -f worker
echo 💡 To stop system: docker-compose down
pause