pump / deploy /start_pc_opc.cmd
Codex
Deploy efficiency estimate fix cf55248
aec7019
Raw History Blame Contribute Delete
620 Bytes
@echo off
setlocal
cd /d "%~dp0.."
if not exist "private-data\pump_history_20260301_20260601.csv" (
echo Missing replay data: private-data\pump_history_20260301_20260601.csv
echo Copy the normalized replay CSV into private-data and try again.
pause
exit /b 1
)
docker compose -f docker-compose.pc-opc.yml up -d --build
if errorlevel 1 (
echo Failed to start the OPC UA replay server. Check Docker Desktop and retry.
pause
exit /b 1
)
echo.
echo OPC UA replay server is running.
echo Endpoint: opc.tcp://127.0.0.1:4840/biditech/server/
echo LAN endpoint: opc.tcp://THIS-PC-IP:4840/biditech/server/
pause