20 lines
543 B
Batchfile
20 lines
543 B
Batchfile
@echo off
|
|
setlocal
|
|
docker version --format "{{.Server.Version}}" >nul 2>nul
|
|
if errorlevel 1 goto engine
|
|
docker compose -f "%~dp0deploy\qinglong\compose.yaml" up -d
|
|
if errorlevel 1 goto failed
|
|
echo QingLong: http://127.0.0.1:5700
|
|
echo Complete first-time account setup in the panel.
|
|
pause
|
|
exit /b 0
|
|
:engine
|
|
echo Docker Linux engine is unavailable. Start Docker Desktop first.
|
|
echo If WSL 2 is missing, complete the Docker Desktop environment setup.
|
|
pause
|
|
exit /b 1
|
|
:failed
|
|
echo QingLong startup failed. See Docker output above.
|
|
pause
|
|
exit /b 1
|