Shuffle
Security
Features
Usecases
Docs
Sign InGet Started

Search

Ctrl+K

Usability

5

  • Getting Started
  • About Shuffle
  • Tenants & Multi-Tenancy
  • Features Overview
  • API Reference

Automation

3

Security

4

Infrastructure

4

Shuffle Onboarding

7 min read
frikky
ayush0033
yashsinghcodes
Edit on GitHub
7m to read

On this page

Architecture overview
Deployment models
Docker requirements
Docker setup draft
Docker scale notes
Kubernetes requirements
Kubernetes setup draft
Collecting logs
Basic debugging checklist
UI does not load
Backend starts but login/setup fails
Apps are missing
Executions stay queued or never start
Worker starts but app actions fail
OpenSearch is unhealthy
Server is slow or runs out of memory
Information to include in an escalation
Important

We've moved the contents of this onboarding guide into our main documentation so everything is easier to find:

For reference or more details, use:

Architecture overview

Shuffle is split into a server layer and a runtime layer.

The server layer handles the UI, API, authentication, workflow storage, app metadata, files, and database access. In the default Docker deployment this is mainly:

  • shuffle-frontend: serves the web UI and routes browser/API traffic.
  • shuffle-backend: runs the REST API, workflow validation, app metadata loading, file handling, and OpenSearch communication.
  • shuffle-opensearch: stores users, tenants, workflows, executions, apps, files metadata, health data, and other platform state.

The runtime layer executes workflows. In the default Docker deployment this is:

  • shuffle-orborus: polls the backend for workflow execution jobs and starts workers.
  • shuffle-worker: controls one workflow execution.
  • App containers: run individual workflow actions, such as HTTP, Shuffle Tools, or third-party integrations.

The usual execution flow is:

  1. A user or trigger starts a workflow.
  2. The backend validates and queues the execution.
  3. Orborus polls the backend and starts a worker.
  4. The worker starts app containers for workflow actions.
  5. Apps return action results and logs to the worker/backend.
  6. The execution ends as FINISHED, ABORTED, or FAILURE.

For Docker, Orborus and the backend use the Docker socket to start workers and app containers. Orborus deploys workers and apps into the Swarm execution network so runtime containers can run across multiple Docker nodes. For Kubernetes, Orborus and workers use Kubernetes API permissions to create worker/app deployments and services in the shuffle namespace.

Deployment models

Docker Compose is the default deployment entrypoint for Shuffle. The Compose stack starts the core services and Orborus. Orborus automatically creates the Swarm execution network and deploys worker and app services. You can scale the runtime layer by changing replica/concurrency settings and by adding more nodes to the Docker Swarm.

Kubernetes is the cluster-native deployment model. In Kubernetes, the Helm chart deploys the core services, and Orborus/Worker create worker and app deployments through Kubernetes API permissions in the shuffle namespace.

For production, plan these items before deployment:

  • Persistent storage for OpenSearch data.
  • Persistent storage for Shuffle files and app hotload folders.
  • Backup and restore process for OpenSearch and Shuffle files.
  • Resource requests/limits or VM sizing.
  • Network path from Shuffle apps to internal tools such as SIEM, EDR, ticketing,identity, and mail systems.
  • Outbound internet/proxy path for downloading apps and Docker images.
  • A stable SHUFFLE_ENCRYPTION_MODIFIER. If it is lost or changed, app authentications must be recreated.

Docker requirements

Minimum lab requirements:

  • Linux host or Windows with WSL2.
  • Docker and Docker Compose.
  • Git, unless using a release zip.
  • At least 4 GB RAM for testing.

Recommended production starting point:

  • 2 vCPU or more.
  • 8 GB RAM or more.
  • 100 GB SSD or more.
  • Internal-only access to Docker/Swarm ports when scaling across nodes.
  • Monitoring for CPU, memory, disk, OpenSearch heap, and container restarts.

OpenSearch prerequisites on Linux:

Bash

Editable

Response

Important Docker environment variables:

  • FRONTEND_PORT: default UI HTTP port, usually 3001.
  • FRONTEND_PORT_HTTPS: default UI HTTPS port, usually 3443.
  • BACKEND_PORT: backend API port, usually 5001.
  • OUTER_HOSTNAME: hostname/IP that Orborus and workers should use to reach the backend.
  • BASE_URL: internal/backend URL used by Shuffle services.
  • SHUFFLE_ENCRYPTION_MODIFIER: required secret for encrypting app authentication data.
  • SHUFFLE_OPENSEARCH_PASSWORD: OpenSearch password used by Shuffle.
  • OPENSEARCH_INITIAL_ADMIN_PASSWORD: initial OpenSearch admin password.
  • HTTP_PROXY / HTTPS_PROXY: outbound proxy if the host cannot reach GitHub, GHCR, Docker Hub, or internal APIs directly.
  • SHUFFLE_PASS_WORKER_PROXY / SHUFFLE_PASS_APP_PROXY: pass proxy settings to workers and app containers.
  • SHUFFLE_LOGS_DISABLED: commonly true at scale to reduce memory pressure from app log forwarding.
  • SHUFFLE_ORBORUS_EXECUTION_CONCURRENCY: soft limit for concurrent executions.

Docker setup draft

Clone and start Shuffle:

Bash

Editable

Response

Edit .env before first start. Set at least:

Bash

Editable

Response

Start the stack:

Bash

Editable

Response

Check containers:

Bash

Editable

Response

Open Shuffle:

text

Editable

Response

After first login:

  1. Create the first admin user, unless SHUFFLE_DEFAULT_USERNAME and SHUFFLE_DEFAULT_PASSWORD were configured.
  2. Go to /apps.
  3. Verify that default apps are present.
  4. If apps are missing, check outbound access to GitHub and proxy settings.
  5. Create a basic workflow with Start node and HTTP or Shuffle Tools to test execution.

Useful Docker commands:

Bash

Editable

Response

Docker scale notes

The default Docker Compose file starts the core services and Orborus with Swarm execution settings. For multi-node Docker execution, initialize/join the Docker Swarm nodes so Orborus can deploy workers and apps as Swarm services on the execution network.

Common Swarm ports between nodes:

  • 2377/tcp: cluster management.
  • 7946/tcp and 7946/udp: node communication.
  • 4789/udp: overlay networking.

Keep these ports internal to the cluster.

Basic Swarm flow:

Bash

Editable

Response

Orborus automatically creates the Docker Swarm execution network and deploys worker and app services. Use these settings to scale the runtime layer:

  • SHUFFLE_ORBORUS_EXECUTION_CONCURRENCY: maximum number of executions Orborus should actively schedule at the same time.
  • SHUFFLE_SCALE_REPLICAS: worker service replicas per Swarm node.
  • SHUFFLE_APP_REPLICAS: app service replicas per Swarm node.
  • Docker Swarm nodes: add more nodes when the current hosts do not have enough CPU, memory, network reachability, or isolation for the workload.

After changing these settings, restart Orborus and verify that Swarm services are created:

Bash

Editable

Response

Kubernetes requirements

Minimum requirements:

  • A working Kubernetes cluster.
  • kubectl access to the cluster.
  • Helm.
  • Permission to create namespace-scoped deployments, services, roles, role bindings, service accounts, PVCs, secrets, and network policies.
  • A default storage class, or explicit storage class values.
  • Image pull access to ghcr.io and required app registries.

Production planning:

  • Use the shuffle namespace for one Shuffle deployment.
  • Do not deploy unrelated applications in the same namespace because Shuffle-created worker/app resources are managed there.
  • Decide whether to use the chart-provided single-node OpenSearch or an external OpenSearch cluster.
  • Decide whether Orborus/Worker may dynamically create app deployments, or whether apps should be pre-deployed with Helm.
  • Configure ingress/TLS or a LoadBalancer service for frontend access.
  • Store secrets outside Helm values where possible.

Important Kubernetes/Helm values:

  • shuffle.baseUrl: external URL where users access Shuffle.
  • shuffle.org: default tenant, usually Shuffle.
  • backend.replicaCount: number of backend replicas.
  • frontend.replicaCount: number of frontend replicas.
  • orborus.replicaCount: number of Orborus replicas.
  • opensearch.enabled: whether the chart deploys OpenSearch.
  • backend.openSearch.url: external OpenSearch URL if not using chart OpenSearch.
  • backend.extraEnvVarsSecret: mount backend secrets as environment variables.
  • orborus.extraEnvVarsSecret: mount Orborus secrets as environment variables.
  • worker.enableHelmDeployment: deploy worker through Helm instead of Orborus dynamic creation.
  • apps.enabled: pre-deploy selected apps through Helm.

Secrets to prepare:

YAML

Editable

Response

Kubernetes setup draft

Create namespace and secrets:

Bash

Editable

Response

Create a draft values file:

YAML

Editable

Response

Install with Helm:

Bash

Editable

Response

Verify:

Bash

Editable

Response

Upgrade:

Bash

Editable

Response

Uninstall:

Bash

Editable

Response

Collecting logs

When reporting an issue, collect logs from the server layer and the runtime layer.

Docker compose:

Bash

Editable

Response

Follow logs while reproducing:

Bash

Editable

Response

Find active workers and app containers:

Bash

Editable

Response

Worker/app logs:

Bash

Editable

Response

Kubernetes:

Bash

Editable

Response

Kubernetes service logs:

Bash

Editable

Response

Kubernetes worker/app logs:

Bash

Editable

Response

Health checks:

API Call

GET
cURL
Python
HTTP

Response

No response received.

OpenSearch health from Docker:

Bash

Editable

Response

OpenSearch health from Kubernetes depends on whether OpenSearch is chart-managed or external. For chart-managed OpenSearch, first find the pod/service:

Bash

Editable

Response

Basic debugging checklist

UI does not load

Check:

  • shuffle-frontend container/pod is running.
  • Port 3001 or ingress is reachable.
  • Frontend can resolve and reach backend.
  • Browser is using the expected HTTP/HTTPS URL.

Commands:

Bash

Editable

Response

Kubernetes:

Bash

Editable

Response

Backend starts but login/setup fails

Check:

  • OpenSearch is running and healthy.
  • SHUFFLE_OPENSEARCH_PASSWORD matches the OpenSearch password.
  • Persistent volume permissions are correct.
  • SHUFFLE_ENCRYPTION_MODIFIER is set before app authentication is used.

Commands:

Bash

Editable

Response

Apps are missing

Check:

  • Backend can reach https://github.com/shuffle/python-apps.
  • Proxy settings are configured if required.
  • SHUFFLE_APP_DOWNLOAD_LOCATION points to the correct repository.
  • The local shuffle-apps directory is mounted and writable.

Commands:

Bash

Editable

Response

Inside the container, test DNS and outbound access if tools are available:

Bash

Editable

Response

Executions stay queued or never start

Check:

  • Orborus is running.
  • Orborus can reach backend using BASE_URL.
  • OUTER_HOSTNAME points to an address reachable from Orborus/workers.
  • Docker socket or Kubernetes RBAC permissions are available.
  • Execution concurrency is not set too low.

Docker commands:

Bash

Editable

Response

Kubernetes commands:

Bash

Editable

Response

Worker starts but app actions fail

Check:

  • App image exists or can be pulled.
  • Worker/app can reach backend.
  • Worker/app can reach the target internal API.
  • Required app authentication is configured.
  • Proxy and custom CA settings are correct.
  • App container logs show the real API error.

Commands:

Bash

Editable

Response

Kubernetes:

Bash

Editable

Response

OpenSearch is unhealthy

Check:

  • Host has enough RAM and disk.
  • vm.max_map_count is set on Linux hosts.
  • Data directory permissions are correct.
  • Password values match between backend and OpenSearch.
  • Persistent volume is not full.

Commands:

Bash

Editable

Response

Server is slow or runs out of memory

Check:

  • OpenSearch heap settings.
  • App log forwarding volume. Set SHUFFLE_LOGS_DISABLED=true for Orborus/runtime if memory is high.
  • Execution concurrency.
  • Number of active workers and apps.
  • Disk pressure from old containers/images/logs.

Commands:

Bash

Editable

Response

Kubernetes:

Bash

Editable

Response

Information to include in an escalation

Before sending a problem to Shuffle, run the relevant debugging steps above and include the command output in the email or support request. Include logs from the same time window as the failure. Redact passwords, API keys, tokens, cookies, and customer data before sending.

At minimum, include:

  • Deployment type: Docker Compose, Docker Swarm, Kubernetes, or hybrid.
  • Shuffle version or image tags.
  • Sanitized .env or Helm values.
  • Frontend URL and whether TLS/ingress/proxy is used.
  • Container/pod status.
  • Backend, Orborus, Worker, App, and OpenSearch logs from the same reproduction window.
  • Screenshot of the error.
  • Whether the environment uses outbound proxy, custom CA, private registry, or no-internet mode.
  • Recent changes: upgrade, password change, storage migration, DNS change, proxy change, node restart.

For Docker deployments, attach the output from:

Bash

Editable

Response

For Kubernetes deployments, attach the output from:

Bash

Editable

Response