Skip to content

v2.2.6

Choose a tag to compare

@github-actions github-actions released this 04 Jul 07:09
· 329 commits to main since this release
7a411a8

Worker v2.2.6

🚀 Interactive Installation - Automatically configures network settings during installation!

Quick Installation

# Download the appropriate package for your architecture
wget https://github.com/ehsaniara/worker/releases/download/v2.2.6/worker__amd64.deb

# Interactive installation (recommended)
sudo dpkg -i worker__amd64.deb

# Start the service
sudo systemctl start worker
sudo systemctl enable worker

Installation Options

🖥️ Interactive Mode (Default)

sudo dpkg -i worker__amd64.deb

Prompts for server IP address - the IP that clients will use to connect.

🤖 Automated Mode

# Pre-configured installation
WORKER_SERVER_IP="192.168.1.100" \
sudo -E dpkg -i worker__amd64.deb

🔧 CI/CD Mode

# Non-interactive installation (uses auto-detected IP)
DEBIAN_FRONTEND=noninteractive sudo dpkg -i worker__amd64.deb

Common Examples

Local Network:

WORKER_SERVER_IP="192.168.1.100" \
sudo -E dpkg -i worker__amd64.deb

Public IP:

WORKER_SERVER_IP="203.0.113.100" \
sudo -E dpkg -i worker__amd64.deb

Auto-detected (Default):

# Uses the IP from your primary network interface
sudo dpkg -i worker__amd64.deb

Post-Installation

Verification

# Verify checksums
sha256sum -c checksums.txt

# Check service status
sudo systemctl status worker

# Test CLI connection
worker-cli list

Reconfiguration

# Reconfigure network settings
sudo dpkg-reconfigure worker

# Or manually edit config and regenerate certificates
sudo nano /opt/worker/config/config.yml
sudo /usr/local/bin/certs_gen.sh
sudo systemctl restart worker

Features

  • ✅ Simple Installation - Just asks for server IP address
  • ✅ Auto-Detection - Automatically detects your network IP
  • ✅ SSL Certificates - Generates certificates for the server IP
  • ✅ Multiple Client Types - Admin and viewer certificates
  • ✅ Easy Configuration - Environment variables support
  • ✅ Production Ready - Systemd service with proper isolation
  • ✅ Cross-Architecture - AMD64 and ARM64 support

What's New

  • Interactive installation asks for server IP address
  • Automatic certificate generation for the specified IP
  • Simplified configuration - just one IP address needed
  • Enhanced user experience with clear prompts
  • Support for both interactive and automated installation

Documentation

  • Installation Guide: See release notes above
  • Configuration: /opt/worker/config/config.yml
  • Certificates: /opt/worker/certs/
  • Logs: sudo journalctl -u worker -f
  • CLI Help: worker-cli --help