Gluesync Conductor

Gluesync Conductor is a container management platform that provides a comprehensive RESTful API for managing Docker containers, with specialized integration for the lifecycle management of Core Hub, Gluesync modules and third-party services within containerized environments.
This project is Open Source
Overview
Gluesync Conductor serves as the orchestration layer for Gluesync deployments by providing a centralized API for container management. It manages Core Hub, Gluesync modules and third-party services through integration with the Gluesync Core Hub, offering a streamlined experience for managing complex data pipeline infrastructures in containerized environments.
Built with Node.js and designed for flexibility, Conductor provides consistent RESTful API responses and supports advanced container operations including version management, persistence tracking, and automated updates.
Key Features
-
Container Management API
-
Complete RESTful API for Docker container operations
-
Container listing with detailed configuration and status information
-
Add, update, and remove containers programmatically
-
Container restart and image pulling capabilities
-
-
Platform Orchestration
-
Seamless integration with Gluesync Core Hub Web UI
-
Version checking and update management for containers
-
-
Configuration Management
-
Docker label-based container identification and tracking
-
Persistent container configuration through Docker Compose
-
Environment variable management and port mapping
-
Volume mounting and network configuration
-
-
Gluesync SDK Integration
-
Direct connection to CoreHub for advanced orchestration
-
License and security configuration management
-
Automatic service discovery and connection handling
-
UDP port range configuration for CoreHub communication
-
-
Monitoring & Operations
-
Real-time container status and health monitoring
-
Detailed logging and error handling
-
Container lifecycle management and persistence tracking
-
Support for multiple container runtimes (Docker, Podman)
-
Installation & prerequisites
System requirements
-
Node.js: Version 16 or higher
-
Container Runtime: Docker and Docker Compose (or Podman)
-
Package Manager: Yarn
Quick start
# Install dependencies
cd packages/gluesync-conductor
yarn install
# Start the service
PORT=50015 yarn dev
Environment configuration
For Gluesync SDK integration, configure the following environment variables:
-
GLUESYNC_LICENSE_FILE: Path to license file (default:/opt/gluesync/data/gs-license.dat) -
GLUESYNC_SECURITY_CONFIG: Path to security config (default:/opt/gluesync/data/security-config.json) -
COREHUB_UDP_PORT_RANGE: Port range for discovery (default:1718-1727, recommended:1717-1727)
API endpoints
Conductor provides a comprehensive REST API for container management:
Container operations
-
GET /containers: List all containers with detailed information
-
GET /containers/id: Get specific container configuration
-
POST /containers: Add new containers to the system
-
PUT /containers/id: Update existing container configuration
-
POST /containers/id/restart: Restart a container
-
POST /containers/id/pull: Pull latest container image
Docker labels & identification
Conductor uses Docker labels to identify and track containers:
Integration with Core Hub
Conductor integrates deeply with the Gluesync Core Hub to provide:
-
Web UI Integration: Lifecycle actions on Core Hub, modules and third-party services from Modules manager
-
Status Synchronization: Real-time status of the managed services in Core Hub interface
-
Security Coordination: SSL certificate management and validation
Container platform support
Best practices
-
Version Management: Regularly check for and apply container updates
-
Resource Allocation: Configure appropriate CPU and memory limits
-
Persistence: Ensure critical containers are properly persisted
-
Monitoring: Implement logging and monitoring for container health
-
Security: Use SSL/TLS for API communications in production
-
Backup: Maintain backups of Docker Compose configurations
Troubleshooting
Common issues
-
Connection Failures: Verify Docker daemon accessibility and API connectivity
-
Version Conflicts: Check container image versions and compatibility
-
Resource Constraints: Monitor system resources and container limits
-
Network Issues: Validate network configuration and port mappings
-
Persistence Problems: Ensure Docker Compose files are properly maintained
Development
Conductor includes development tools for code quality and testing:
# Code quality checks
yarn lint
yarn type-check
# Testing
yarn test
# Documentation
yarn docs
Changelog
See the Conductor changelog for the release history.