Activepieces self hosted: Docker, Kubernetes and limitations

Activepieces can run on your own servers or in your Kubernetes cluster, and the Community Edition is free to self-host. Enterprise features and fully air-gapped operation need a paid Enterprise license, and the platform needs PostgreSQL, Redis and your own operational controls around it.

On this page

Can Activepieces be self-hosted on premise in our own infrastructure?

The core platform can be self-hosted on your own servers with Docker Compose or Kubernetes, and the Community Edition is free to self-host according to the vendor pricing page. Enterprise features and air-gapped operation need the paid Enterprise license, so settle that before you pick an architecture. Docker Compose needs v2 and at least 2 vCPU and 4 GB RAM, while Kubernetes installs use the official Helm chart on Kubernetes v1.19 or later with Helm 3.x. For a platform team that must keep workflow data and execution inside its own network, installation is the smaller part of the work. Your team then owns the app and worker containers, the PostgreSQL database, the Redis instance that backs the queues, the secrets that protect stored data, and every upgrade.

Execution controls need the most attention. The AP_EXECUTION_MODE setting defaults to UNSANDBOXED, with sandbox modes available, so choose and test the mode that matches your risk before any production flow runs. AP_NETWORK_MODE defaults to UNRESTRICTED. STRICT enables a best-effort SSRF guard, and the docs say your infrastructure should enforce the real network boundary, so plan egress firewall rules, proxies and internal-only routes outside the application. Set AP_TELEMETRY_ENABLED to false if product analytics should stay inside your network, since it defaults to true. Confirm these settings against the environment variables reference for the version you deploy.

Two secrets are required for production: AP_ENCRYPTION_KEY and AP_JWT_SECRET, each a 32-character hex key. Generate them once, store them in your secrets manager, and back them up alongside the database, because losing the encryption key can leave stored credentials unreadable. Third-party hosts such as Railway, Elestio and PikaPods are maintained outside the core team, and their versions may lag, so if you use one, confirm its release cadence and your upgrade path in writing. Before go-live, ask the vendor to confirm which Enterprise features your air-gapped design needs and what the license covers in your environment.

Which self-hosting options are built in, paid or outside the platform

This table sorts each self-hosting option into one of four states: built in, paid license only, needs an outside component, or not available. Read the State column first, then the notes for the requirement you must confirm. The main takeaway is that the core install is free to run, while Enterprise features, the air-gapped setup and several edition requirements need a vendor conversation before you commit.

OptionStateNotes and what to confirm
Docker Compose installBuilt inFour containers, Compose v2, at least 2 vCPU and 4 GB RAM, with PostgreSQL and Redis. Listens on port 8080 by default.
Helm chart on KubernetesBuilt inOfficial chart needs Kubernetes v1.19+ and Helm 3.x. PostgreSQL and Redis can be external or in-cluster.
Single-container install (embedded database)Built inIntended for personal use with an embedded database. Cannot run the Enterprise edition.
Enterprise license featuresPaid license onlyCode under the Enterprise license folders needs an Activepieces license. Confirm the edition required for each feature you plan to use.
Air-gapped operationPaid license onlyVendor offers Enterprise control for fully air-gapped servers. Confirm update and telemetry handling offline, since telemetry defaults to on.
Third-party hosts (Railway, Elestio, PikaPods)Needs an outside componentMaintained outside the core team, so versions may lag. Confirm the edition and license terms with each host.
Sandboxed execution modesBuilt inDefault is UNSANDBOXED. Confirm with the vendor which sandbox modes need a paid license.
Single sign-on (SAML 2.0)Built inConfigured under Platform admin, Security, Authentication. Needs a verified company domain. Confirm which plan includes it.
SSRF guard (AP_NETWORK_MODE STRICT)Built inBest-effort only. Enforce the real network boundary with your own egress controls.

How the self-hosted Activepieces stack fits together

A self-hosted Activepieces stack has five parts your team operates: the application container, one or more worker containers, PostgreSQL, Redis, and two secrets. The AP_CONTAINER_TYPE setting decides whether a container runs the application or only workers, which lets you scale background work separately from the web interface. The Docker Compose install starts four containers, and the Helm chart can point at external or in-cluster PostgreSQL and Redis. AP_ENCRYPTION_KEY and AP_JWT_SECRET are required for production, and each is a 32-character hex value. Generate them once, store them in your secret manager, and confirm with Activepieces how key rotation affects existing data before go-live, since a lost or changed key after flows exist is a recovery problem you want to plan for in advance.

Three runtime settings decide how the stack behaves, and they belong in your security review. AP_EXECUTION_MODE defaults to UNSANDBOXED, with sandboxed modes available, so settle the mode before any team builds flows that run pieces or code you have not reviewed. AP_NETWORK_MODE defaults to UNRESTRICTED. Its STRICT option is a best-effort guard against server-side request forgery, and the vendor's documentation says your infrastructure should enforce the boundary for outbound calls. In practice, that means egress rules at the network layer, with the application setting layered on top as a second control. Record both choices in your architecture decision log so the reasoning survives staff changes.

The license key decides which Enterprise code paths run on your instance. Code under the Enterprise directories requires an Activepieces license for production use, and the key is activated on the running installation. Installs on the single-container embedded database cannot run the Enterprise edition, so a team that may need Enterprise features should plan for PostgreSQL and Redis from the start. The vendor's pricing page states that Community Edition is free to self-host, but the license terms still govern what you may run in production. Confirm the seat count and feature list in writing before rollout, and set AP_TELEMETRY_ENABLED deliberately, because it defaults to true. Review the enterprise license documentation with your legal team before you enable paid features.

How the parts of a self-hosted instance connect

The diagram starts with users reaching the app through your ingress or load balancer. Inside your infrastructure, the app container serves the interface and API, writes its data to PostgreSQL and queues jobs in Redis. The worker container picks up those jobs and runs flows against the same database. The license key check gates Enterprise features on the app. Outbound calls from workers to external services should pass through a firewall or proxy you operate, because AP_NETWORK_MODE set to STRICT is only a best-effort guard, and the docs say infrastructure should enforce the real boundary. Verify each hand-off and each outbound route before go-live.

Traffic enters through your ingress, and workers reach external services only through your boundary.

Which deployment choices the self-hosting team has to make

Six choices shape how this Activepieces instance behaves once it is live. Some decide availability, some decide how much operations work your team carries, and some decide what isolation a reviewer can verify. Settle them in writing before the first install, because changing a database location or execution mode later means testing again.

Docker Compose or Helm chart

Docker Compose on one host is the route the vendor docs recommend. It needs Docker Compose v2 and at least 2 vCPU and 4 GB RAM, and the install runs four containers from one script. The Helm chart targets Kubernetes v1.19+ with Helm 3.x and suits teams that already run clusters. Compose means one failure domain, so the host is your availability limit. Helm adds scheduling and controlled rollouts but adds cluster operations work. Confirm which platform your team can patch, back up and restore.

Compose install docs

Database and queue placement

The app keeps its data in PostgreSQL (AP_DB_TYPE defaults to POSTGRES) and queues work in Redis (AP_REDIS_TYPE defaults to STANDALONE). The Helm chart can run both inside the cluster or connect to external services. In-cluster databases keep the install self-contained, but backup, restore and storage upgrades fall to your team. External managed services move that work to a provider you still need to review. Ask each provider who handles backups, failover and encryption at rest.

Kubernetes install docs

App and worker containers

AP_CONTAINER_TYPE splits the deployment into app-only and worker-only containers, so the web interface and the processes that run flows can be scaled and monitored separately. Splitting helps when flow volume grows or when the interface should be kept apart from execution. It also adds services to watch and configuration to keep consistent across both sets. Confirm how each container receives its secrets before you test a restart or a rolling update.

Execution mode for pieces

AP_EXECUTION_MODE defaults to UNSANDBOXED, so pieces run without a sandbox unless you change it. Sandbox modes are available, and the choice sets how isolated one flow's code is from the host and from other flows. Set it explicitly and record the value, because the default is the least isolated option. Shared instances carry the most risk. Test the chosen mode with the pieces your flows use, since a restriction can break a flow that depends on local access. Your reviewer will ask for the setting and its test result.

Environment variables

Network mode and outside controls

AP_NETWORK_MODE defaults to UNRESTRICTED. STRICT adds a best-effort SSRF guard, and the vendor docs say the infrastructure should enforce the boundary itself. Plan egress rules, DNS and proxy controls and blocked private address ranges at the network layer, outside the app. Pieces that call internal systems need explicit allow paths. Test the rules from inside a flow and keep the results, since a reviewer will ask how outbound traffic is controlled.

Where the instance runs

The install overview lists three places to run the instance: your own servers, an air-gapped network or a third-party host such as Railway, Elestio or PikaPods. Third-party hosts are maintained outside the core team, so versions may lag. Your servers or air-gapped network keep data and patch timing under your control, and the vendor's Enterprise control covers those two options. Confirm the location against your data residency and vendor review rules before choosing.

Install overview

How the answer changes by deployment situation

A single Docker Compose host suits a small team that wants one documented install path. The Docker Compose guide describes a one-line install script that runs four containers with PostgreSQL and Redis, so your team owns one server, one database and one upgrade routine.

  • Hardware floor: The documented minimum is Docker Compose v2 with at least 2 vCPU and 4 GB RAM, and the web interface listens on port 8080 by default. Treat these as starting points and size for your actual workflow volume.
  • Production secrets: AP_ENCRYPTION_KEY and AP_JWT_SECRET are required for production as 32-character hex keys. Store them in your secrets manager and confirm the backup procedure with the vendor before any workflow depends on them.
  • Enterprise features: The single-container install with an embedded database cannot run the Enterprise edition. If SSO may be needed later, start on the Compose stack so you do not have to migrate.
  • Telemetry and network mode: AP_TELEMETRY_ENABLED defaults to true, and AP_NETWORK_MODE defaults to UNRESTRICTED. Set both deliberately and record the outbound traffic in your security review.
  • Version pinning: The latest GitHub release at the time of writing is 0.94.0-hotfix.1, published on 1 December 2026. Pin the tag you test and read the release notes before each change.

Confirm with the vendor exactly which image tags the install script pulls and how to pin them before your change process relies on it.

Where self-hosting leaves gaps the organization must close

Self-hosting moves operational responsibility into your environment. The six gaps below share one pattern: the defaults favor a quick start, and the controls that matter for a regulated deployment sit in configuration, network design or your own operations. Close each one before the first business workflow runs.

Embedded database blocks Enterprise features

The single-container install uses an embedded database, and installs on that database cannot run the Enterprise edition. Any licensed feature you planned for a regulated deployment therefore needs the Docker Compose or Helm route with PostgreSQL and Redis. Confirm the edition on the instance before a pilot becomes production, and treat the single-container install as a personal evaluation environment only.

Enterprise license docs

Telemetry is on by default

AP_TELEMETRY_ENABLED defaults to true, so the instance sends product analytics unless you change it. In an isolated network, decide whether that traffic is allowed, set the variable to match that decision, and confirm with firewall logs that the instance makes no other unexpected outbound calls. Record the setting in your configuration baseline so reviewers can see what was decided and why.

Environment variables

SSRF guard is best effort

AP_NETWORK_MODE defaults to UNRESTRICTED. STRICT enables an SSRF guard that the docs describe as best effort, so infrastructure must enforce the boundary. Write egress rules in your network policy or firewall that limit which internal addresses and cloud metadata endpoints the Activepieces containers can reach. Test those rules by sending a request from a workflow step to a blocked internal address and confirming it fails.

Environment variables

Default execution mode is unsandboxed

AP_EXECUTION_MODE defaults to UNSANDBOXED, so pieces and code steps runs without sandboxing by default. Review which sandbox mode fits your workflows, then test each piece your teams use under it, because compatibility is not something to assume. If your design needs separation, AP_CONTAINER_TYPE can split the app and worker containers, so the workers that run flows can sit in a separate network zone with tighter controls.

Third-party hosts may lag

Hosts such as Railway, Elestio and PikaPods are maintained outside the core Activepieces team, so their platform version may run an older version than the release line. Before you choose one, ask which version it runs, how quickly it applies new releases and who patches the underlying image. Pin the version you tested in your deployment files, and compare it with the latest release on GitHub before each change window. The latest release as of 1 December 2026 was 0.94.0-hotfix.1.

Install overview

PostgreSQL and Redis stay yours

PostgreSQL and Redis remain your responsibility in every self-hosted option, including their availability, backups and patching. The Helm chart can use in-cluster or external services, and that choice decides which team operates each one. Assign an owner for each service, schedule a restore you have tested into a separate environment, and decide whether you need a support agreement with a database provider or a partner for out-of-hours response.

Docker Compose install

The order of work to take a self-hosted instance into production

Taking Activepieces into production is a chain of decisions where each one depends on the last, so the order matters. Each step below closes with a check you can record before the next step starts. The result is an instance whose license, secrets, data stores, network posture and version are documented well enough for your security and compliance reviewers.

  1. Confirm edition and license terms

    Decide which features you need before installing anything. The core is MIT licensed, but the directories packages/ee and packages/server/api/src/app/ee fall under the Activepieces Enterprise license, and production use of those features requires a subscription or other agreement that covers the correct number of user seats. Ask the vendor to confirm the seat count and terms in writing, and note that the single-container install on an embedded database cannot run the Enterprise edition. This step is done when you hold a written statement of the edition and seat count your production instance is licensed for.

  2. Choose the install path

    Pick Docker Compose for a single host or the official Helm chart for Kubernetes, based on how your platform team already operates workloads. The Docker Compose install guide requires Docker Compose v2, at least 2 vCPU and 4 GB RAM, and listens on port 8080 by default. The Helm chart requires Kubernetes v1.19 or later and Helm 3.x, and can use external or in-cluster PostgreSQL and Redis. This step is done when the chosen path runs in a non-production environment with PostgreSQL and Redis and the login page loads.

  3. Generate and store encryption and JWT keys

    Generate AP_ENCRYPTION_KEY and AP_JWT_SECRET as 32-character hex values, and store them in your organization's secrets system before the first production start. Inject them into the containers at startup, and limit read access to the platform team and the service account that runs the workload. Keep the values out of compose files, images and shared chart values. Ask the vendor how the encryption key is rotated before you write a rotation procedure. This step is done when both values are retrieved from the secrets system at startup and a restart keeps existing sign-ins and stored connections working.

  4. Place PostgreSQL and Redis under backup and monitoring

    The stack uses PostgreSQL as its database (AP_DB_TYPE defaults to POSTGRES) and Redis for queues (AP_REDIS_TYPE defaults to STANDALONE). Assign a named owner for each, schedule PostgreSQL backups, and write a restore procedure that you test in a separate environment. Add monitoring and alerts for database availability, storage consumption and Redis connectivity. Confirm that Redis persistence matches what your queue design expects. This step is done when a restore has completed in a separate environment and a deliberately induced failure triggers an alert.

  5. Set telemetry and network modes deliberately

    Set AP_TELEMETRY_ENABLED on purpose, because it defaults to true for product analytics, and record the decision in your data handling documentation. Review AP_NETWORK_MODE, which defaults to UNRESTRICTED. STRICT enables a best-effort SSRF guard, and the vendor docs state that the infrastructure should enforce the actual boundary. Decide AP_EXECUTION_MODE the same way, since it defaults to UNSANDBOXED. Put egress rules, proxies and network segmentation in place with your network team. This step is done when the chosen values are in the configuration, the network team has confirmed the egress rules, and a test workflow behaves as the settings predict.

  6. Verify the instance against the reviewer checklist

    Run the reviewer checklist against the running instance and the design records together. Check that the license covers every enabled Enterprise feature, that the keys come from the secrets system, that database and cache restores succeed, and that telemetry and network settings match the decisions from the previous step. If SSO is part of the rollout, confirm the SAML 2.0 setup under Platform admin, Security, Authentication and the verified company domain. Keep evidence for each item, such as configuration exports, restore logs and admin setting captures. This step is done when every checklist item has an owner, a result and dated evidence, and each failed item has a fix and a retest.

  7. Pin the version and document the upgrade plan

    Deploy a specific release tag and record it in your change log. The latest GitHub release at the time of writing is 0.94.0-hotfix.1, published on 1 December 2026, so confirm the tag you deploy against the release notes before you pin it. Third-party hosting providers maintain their own packaging, so their versions may lag the core release. Write an upgrade plan that lists the test environment, the backup taken before each upgrade, and the rollback path. This step is done when the pinned version appears in your configuration, a test upgrade has completed in a non-production environment, and the platform owner has approved the plan.

What a security reviewer asks to see for a self-hosted instance

This table lists what a security reviewer typically asks for when a self-hosted Activepieces instance goes into review, and where each piece of evidence comes from. The middle column names the platform setting, document or environment record behind each request. The last column separates what the vendor supplies from what your organization produces, and most of the evidence falls into the second group.

Reviewer requestWhere the evidence comes fromProduced by
Architecture diagramDrawn from your Docker Compose or Helm deployment, showing app, workers, PostgreSQL, Redis and any reverse proxy in frontYour organization
Configuration record for keys and modesValues of AP_ENCRYPTION_KEY, AP_JWT_SECRET, AP_EXECUTION_MODE and AP_NETWORK_MODE, with the secret store where they are keptYour organization
License agreement and seat countActivepieces Subscription Terms or another signed agreement covering Enterprise features, with the number of user seats licensedVendor issues terms; you record seats
Data location and telemetry settingWhere PostgreSQL, Redis and backups are hosted, and the AP_TELEMETRY_ENABLED value, which defaults to trueYour organization
Backup and restore recordsBackup schedule, storage location and dated restore test results for PostgreSQL, checked against the vendor's guidance for your versionYour organization
Version and upgrade recordRunning image or chart version, matched to GitHub release notes, and dated upgrade testsVendor publishes releases; you record yours
Network boundary descriptionIngress, egress and database paths, plus the firewall rules that enforce them; STRICT network mode is a best-effort SSRF guard onlyYour organization

What buyers ask before approving a self-hosted Activepieces instance

What does a self-hosted Activepieces instance cost, and what recurs?

The Community Edition is free to self-host, according to the Activepieces pricing page as read in December 2026, so the software license is often not the largest cost. The recurring costs are the infrastructure for the app, workers, PostgreSQL and Redis, which the Docker Compose route starts at 2 vCPU and 4 GB RAM, plus the staff time to patch, back up and upgrade it. If you need Enterprise features, add a subscription under the Activepieces Subscription Terms, which is priced by user seats and renews. Ask the vendor for a quote that separates one-time from annual charges, states the seat count it assumes, lists the support level, and says whether air-gapped or self-managed Enterprise control is priced separately. Ask your own infrastructure team for hosting figures from your rate cards.

What drives the effort to run self-hosted Activepieces?

Effort follows the components you operate, and the first install is only one step. The stack includes the app, workers, PostgreSQL and Redis, and AP_CONTAINER_TYPE can split the deployment into app-only and worker-only containers, which changes how you scale and monitor it. Other drivers are the execution mode (AP_EXECUTION_MODE defaults to UNSANDBOXED, with sandbox modes available), network policy (AP_NETWORK_MODE defaults to UNRESTRICTED, and STRICT is a best-effort SSRF guard, so your infrastructure must enforce the real boundary), SSO configuration, PostgreSQL backups, and your patch cadence. Count the components you will own, the integrations your workflows call, and the controls you must evidence, then size the effort from that list.

Can our own team deploy Activepieces self-hosted without a partner?

A team with container and database skills can install the recommended Docker Compose route alone, since the docs describe a one-line install script with PostgreSQL and Redis, and Kubernetes teams can use the official Helm chart with external or in-cluster databases. Production readiness needs more work: generate AP_ENCRYPTION_KEY and AP_JWT_SECRET (both 32-character hex keys), configure SAML 2.0 SSO under Platform admin, Security, Authentication with a verified company domain, and set backups, TLS and monitoring. Confirm that someone on your team will own each item after go-live. Where gaps exist, DeployOpen plans, implements, hardens, backs up and documents self-hosted platforms inside your infrastructure under a written, fixed scope, and you keep ownership of the result.

What does an Activepieces Enterprise license cover on a self-hosted instance?

An Enterprise license covers the features in code under packages/ee and packages/server/api/src/app/ee, which fall under the Activepieces Enterprise license, while the core stays under the MIT license. Production use requires the Activepieces Subscription Terms or another agreement, covering the correct number of user seats. Copying and modifying the code for development and testing needs no subscription. Activation uses a license key, and an install on the embedded single-container database cannot run the Enterprise edition, so a production instance needs PostgreSQL. Before signing, read the enterprise license documentation and ask the vendor which features your use case needs, how seats are counted and renewed, and what support is included.

Does self-hosted Activepieces work in an air-gapped network?

The vendor states that Enterprise control covers your own servers or a fully air-gapped setup, according to the pricing page as read in December 2026, but you should confirm the details before approval. Check how container images, the Helm chart and any pieces reach the network, since the Compose route depends on an install script. Confirm how license activation works without outbound internet access. Set AP_TELEMETRY_ENABLED to false, because it defaults to true for product analytics. Review every piece your workflows will call, because calls to external APIs will fail or need approved routes. Get the air-gapped terms in writing before procurement signs, and ask the vendor which parts of the setup depend on outside services.

What must our organization provide for a self-hosted Activepieces instance?

Your organization provides the infrastructure and the people who run it. Plan for these parts:

  • Hosts or cluster capacity that meets the Docker Compose minimum of 2 vCPU and 4 GB RAM, or Kubernetes v1.19+ with Helm 3.x.
  • PostgreSQL and Redis, either in your environment or in-cluster as the Helm chart allows.
  • DNS, TLS certificates and an identity provider that supports SAML 2.0 with a verified company domain.
  • Secret handling for AP_ENCRYPTION_KEY and AP_JWT_SECRET, plus backups and tested restores.
  • Egress rules, monitoring, and a named owner for patching and upgrades.

Ask the vendor or your implementation partner to confirm which of these they assume and which they supply, and write the split into the scope.

How are Activepieces upgrades handled on a self-hosted instance?

You run upgrades yourself, and the vendor publishes releases on GitHub. The latest release at the time of writing is 0.94.0-hotfix.1, published on 1 December 2026, according to the GitHub releases API for the Activepieces repository. A safe process backs up PostgreSQL, reads the release notes, tests on a copy of the instance, and then rolls the app and worker containers. Third-party hosts such as Railway, Elestio and PikaPods are maintained outside the core team, so their versions may lag. Ask for the upgrade path in the quote, including whether the license key needs changes, how many versions support covers, who performs rollbacks, and how long a test cycle takes in your environment. Pin image versions and avoid tracking the latest tag in production.

How DeployOpen plans and runs a self-hosted Activepieces instance

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, so the Activepieces app, database and queues remain in your environment. The engagement starts with a written scope covering the Docker Compose or Helm route, PostgreSQL, Redis and any Enterprise features that need a license.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The written scope names the install route, Docker Compose or Kubernetes with Helm, and the hosting target for each.
  • Scope also records which Enterprise features you plan to use, since they need a separate Activepieces license.

How we build

  • Deploy PostgreSQL and Redis, set AP_ENCRYPTION_KEY and AP_JWT_SECRET, and split app and worker containers where needed.
  • Choose execution and network modes deliberately, since the defaults are UNSANDBOXED and UNRESTRICTED.
  • Include SSO, TLS, backups and telemetry settings in the build, including turning off AP_TELEMETRY_ENABLED if policy requires.

How we hand over

  • Written runbooks cover install, upgrades, secrets rotation, backup restores and the configuration keys your team owns.
  • Compliance readiness evidence records settings, access model and audit logging for your security and compliance reviewers.
  • Security testing of the deployed instance can be scoped as a separate written engagement before go-live.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, agreed separately from the build.
  • Upgrade work reviews release notes and configuration changes before each Activepieces version moves into production.
  • If a third-party host is considered, confirm its version, since those hosts are maintained outside the core team.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.