2.7 KiB
2.7 KiB
Remote Dashboard Deployment Summary
Overview
Successfully deployed the Calejo Control Adapter dashboard to the remote server at 95.111.206.155 on port 8081.
Deployment Status
✅ SUCCESSFULLY DEPLOYED
- Remote Dashboard: Running on
http://95.111.206.155:8081 - Health Check: Accessible at
/healthendpoint - Service Status: Healthy and running
- SSH Access: Working correctly
🔄 CURRENT SETUP
- Existing Production: Port 8080 (original Calejo Control Adapter)
- Test Deployment: Port 8081 (new dashboard deployment)
- Mock Services:
- Mock SCADA:
http://95.111.206.155:8083 - Mock Optimizer:
http://95.111.206.155:8084
- Mock SCADA:
Key Achievements
- SSH Deployment: Successfully deployed via SSH to remote server
- Container Configuration: Fixed Docker command to use
python -m src.main - Port Configuration: Test deployment running on port 8081 (mapped to container port 8080)
- Health Monitoring: Health check endpoint working correctly
Deployment Details
Remote Server Information
- Host:
95.111.206.155 - SSH User:
root - SSH Key:
deploy/keys/production_key - Deployment Directory:
/opt/calejo-control-adapter-test
Service Configuration
- Container Name:
calejo-control-adapter-test-app-1 - Port Mapping:
8081:8080 - Health Check:
curl -f http://localhost:8080/health - Command:
python -m src.main
Access URLs
- Dashboard: http://95.111.206.155:8081
- Health Check: http://95.111.206.155:8081/health
- Existing Production: http://95.111.206.155:8080
Verification
All deployment checks passed:
- ✅ SSH connection established
- ✅ Docker container built and running
- ✅ Health endpoint accessible
- ✅ Service logs showing normal operation
- ✅ Port 8081 accessible from external
Next Steps
- Test Discovery: Verify the dashboard can discover remote services
- Protocol Mapping: Test protocol mapping functionality
- Integration Testing: Test end-to-end integration with mock services
- Production Deployment: Consider deploying to production environment
Files Modified
docker-compose.test.yml- Fixed command and port configuration
Deployment Scripts Used
deploy/ssh/deploy-remote.sh -e test- Main deployment script- Manual fixes for Docker command configuration
Notes
- The deployment successfully resolved the issue where the container was trying to run
start_dashboard.pyinstead of the correctpython -m src.main - The test deployment runs alongside the existing production instance without conflicts
- SSH deployment is now working correctly after the initial connection issues were resolved