Search
Ctrl+K
Usability
5
Automation
3
Security
4
Infrastructure
4
On this page
ImportantWe've moved the contents of this onboarding guide into our main documentation so everything is easier to find:
- System design & how things work: Architecture
- Setup, requirements,
.env, and Kubernetes: Configuration- Cloud Hybrid execution on Kubernetes: Hybrid Kubernetes setup
- Debugging, common issues, and getting logs: Troubleshooting
- Building your first workflow: Getting Started
For reference or more details, use:
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.The usual execution flow is:
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.
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:
SHUFFLE_ENCRYPTION_MODIFIER. If it is lost or changed, app authentications must be recreated.Minimum lab requirements:
Recommended production starting point:
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.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:
SHUFFLE_DEFAULT_USERNAME and SHUFFLE_DEFAULT_PASSWORD were configured./apps.Useful Docker commands:
Bash
Editable
Response
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.After changing these settings, restart Orborus and verify that Swarm services are created:
Bash
Editable
Response
Minimum requirements:
kubectl access to the cluster.ghcr.io and required app registries.Production planning:
shuffle namespace for one Shuffle deployment.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
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
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
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
Check:
shuffle-frontend container/pod is running.3001 or ingress is reachable.Commands:
Bash
Editable
Response
Kubernetes:
Bash
Editable
Response
Check:
SHUFFLE_OPENSEARCH_PASSWORD matches the OpenSearch password.SHUFFLE_ENCRYPTION_MODIFIER is set before app authentication is used.Commands:
Bash
Editable
Response
Check:
https://github.com/shuffle/python-apps.SHUFFLE_APP_DOWNLOAD_LOCATION points to the correct repository.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
Check:
BASE_URL.OUTER_HOSTNAME points to an address reachable from Orborus/workers.Docker commands:
Bash
Editable
Response
Kubernetes commands:
Bash
Editable
Response
Check:
Commands:
Bash
Editable
Response
Kubernetes:
Bash
Editable
Response
Check:
vm.max_map_count is set on Linux hosts.Commands:
Bash
Editable
Response
Check:
SHUFFLE_LOGS_DISABLED=true for Orborus/runtime if memory is high.Commands:
Bash
Editable
Response
Kubernetes:
Bash
Editable
Response
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:
.env or Helm values.For Docker deployments, attach the output from:
Bash
Editable
Response
For Kubernetes deployments, attach the output from:
Bash
Editable
Response