6cd126af41
Release pipeline / Get version (push) Has been cancelled
Release pipeline / Get Chart Name (push) Has been cancelled
Release pipeline / tests (push) Has been cancelled
Release pipeline / builds (push) Has been cancelled
Release pipeline / builds-ghcr (push) Has been cancelled
Release pipeline / test-deployments (push) Has been cancelled
Release pipeline / deploy (push) Has been cancelled
Release pipeline / Helm chart oci (push) Has been cancelled
Release pipeline / npm (push) Has been cancelled
Release pipeline / snyk (push) Has been cancelled
- Add custom IFC converter using web-ifc C++ DLL for geometry extraction - Add GeometryInjector.cs: patches Speckle objects with mesh geometry - Add NativeIfcGeometry.cs: P/Invoke bindings to WebIfcDll - Add CustomMeshConverterFactory.cs: custom Xbim mesh converter - Configure fileimport-service dotnet IFC pipeline - Add VPS deployment config (docker-compose-vps.yml) - Add dev scripts: run_backend.bat, run_frontend.bat, start_dev.bat - Update .gitignore: exclude scratch/IFC-toolkit, engine_web-ifc - Memory optimization for Xbim (MemoryModel mode)
36 lines
1.4 KiB
Batchfile
36 lines
1.4 KiB
Batchfile
@echo off
|
|
echo ============================================
|
|
echo FIX VPS: Upload compose + restart services
|
|
echo ============================================
|
|
echo.
|
|
|
|
echo [1] Uploading docker-compose-vps.yml to VPS...
|
|
scp -o StrictHostKeyChecking=no -i "%USERPROFILE%\.ssh\id_rsa" "d:\speckle-server\docker-compose-vps.yml" root@100.64.0.3:/root/docker-compose-vps.yml
|
|
echo.
|
|
|
|
echo [2] Checking UFW status on VPS...
|
|
ssh -o StrictHostKeyChecking=no -i "%USERPROFILE%\.ssh\id_rsa" root@100.64.0.3 "ufw status"
|
|
echo.
|
|
|
|
echo [3] Open UFW ports for Speckle services...
|
|
ssh -o StrictHostKeyChecking=no -i "%USERPROFILE%\.ssh\id_rsa" root@100.64.0.3 "ufw allow 9002/tcp && ufw allow 9003/tcp && ufw allow 8090/tcp && ufw allow 1080/tcp && ufw allow 8001/tcp && echo DONE"
|
|
echo.
|
|
|
|
echo [4] Restart MinIO and Keycloak...
|
|
ssh -o StrictHostKeyChecking=no -i "%USERPROFILE%\.ssh\id_rsa" root@100.64.0.3 "cd /root && docker compose -f docker-compose-vps.yml up -d minio keycloak redis redis_insight pgadmin maildev"
|
|
echo.
|
|
|
|
echo [5] Wait 20s for services to start...
|
|
timeout /t 20 /nobreak
|
|
echo.
|
|
|
|
echo [6] Check service status...
|
|
ssh -o StrictHostKeyChecking=no -i "%USERPROFILE%\.ssh\id_rsa" root@100.64.0.3 "docker ps --format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}'"
|
|
echo.
|
|
|
|
echo ============================================
|
|
echo DONE! MinIO console: http://100.64.0.3:9003
|
|
echo Keycloak: http://100.64.0.3:8090
|
|
echo ============================================
|
|
pause
|