Deploy Activepieces in one click
Automations and AI agents built from hundreds of pieces, with no code
A self-hosted alternative to Zapier and Make.
What is Activepieces?
Activepieces is an open-source workflow automation tool that people run instead of Zapier. A flow starts with a trigger, such as a new row in Google Sheets or a webhook call, then runs steps across hundreds of apps, each one a piece. Loops, branches, retries, delays and subflows sit on the same canvas, and a flow can pause until a person approves it. AI steps call the model you choose with your own API key.
People self-host Activepieces to keep their connections and run history on their own server, and because the Community edition is free there, while Activepieces Cloud counts a credit for every run. It suits developers too: a piece is a TypeScript npm package, so an internal API can get a piece of its own. The catch is that Agents, Chat, SSO, roles and audit logs come only with paid plans.
Hosting Activepieces on Pethost
- You sign in to Pethost with a passkey, GitHub or Google. No machine yet? You pick a plan, and the link waits until it is ready.
- New project opens at Activepieces. You fill in what it asks for and click Create project: Email, Admin password.
- In a minute or two Activepieces is live at its own address with HTTPS. Its secrets are made at random, and its data is in the nightly backup.
- It is a project like any other: you or your agent can change it, roll it back or restore it.
Questions about Activepieces
Is Activepieces free and open source?
Its core is. The Community edition, everything outside the repository's ee folders, is MIT-licensed and free to self-host. The enterprise code in those folders is under a commercial license.
Can Activepieces replace Zapier?
Its own README calls it an open source replacement for Zapier. Before moving, check that its catalog has pieces for your apps; any other service with an API is reachable through the HTTP piece or a webhook.
Does Activepieces have an MCP server?
Yes. It has a built-in MCP server, so Claude, Cursor or another MCP client can build flows, manage tables, test automations and look into failed runs in plain language.
Can I write code in Activepieces?
Yes. A Code step runs TypeScript inside a flow and can import npm packages, for the data shaping or API call that no piece covers.
Do Activepieces webhooks need a public URL?
Yes. Webhooks and many app triggers need an address other services can reach. On Pethost, Activepieces runs at its own HTTPS address, under yourname.pethost.app or your own domain, so they reach it there.
How much memory and disk does Activepieces need?
Activepieces is moderate: about 800 MB with its Postgres and Redis, and run history grows slowly. On Pethost the Starter plan is enough for it, with room for other apps beside it.
Activepieces Docker Compose file
The template is this compose.yaml and the variables written into the project’s .env as it is created. Pethost runs the file as it is written.
Containers: activepieces (ghcr.io/activepieces/activepieces:0.92.3), postgres (postgres:17-alpine), redis (redis:7-alpine).
Volumes, in the nightly backup: cache, db, redis.
services:
activepieces:
image: ghcr.io/activepieces/activepieces:0.92.3
restart: unless-stopped
environment:
AP_FRONTEND_URL: ${URL}
AP_ENVIRONMENT: prod
AP_ENCRYPTION_KEY: ${ENCRYPTION_KEY}
AP_JWT_SECRET: ${JWT_SECRET}
AP_EXECUTION_MODE: UNSANDBOXED
AP_POSTGRES_HOST: postgres
AP_POSTGRES_PORT: "5432"
AP_POSTGRES_DATABASE: activepieces
AP_POSTGRES_USERNAME: activepieces
AP_POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
AP_REDIS_HOST: redis
AP_REDIS_PORT: "6379"
ADMIN_EMAIL: ${ADMIN_EMAIL}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
# The first account signed up becomes the platform's admin. At the first start the server runs
# alone on port 3001, which no route reaches, the email and password given are signed up there,
# and only then does it start on 80 with its worker.
entrypoint:
- sh
- -c
- |
AP_CONTAINER_TYPE=APP AP_PORT=3001 node packages/server/api/dist/src/bootstrap.js &
node -e '
const url = "http://127.0.0.1:3001/api/v1";
const wait = (ms) => new Promise((r) => setTimeout(r, ms));
(async () => {
for (;;) {
try { if ((await fetch(url + "/health")).ok) break; } catch {}
await wait(1000);
}
const flags = await (await fetch(url + "/flags")).json();
if (flags.USER_CREATED) return;
const answer = await fetch(url + "/authentication/sign-up", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ email: process.env.ADMIN_EMAIL, password: process.env.ADMIN_PASSWORD, firstName: "Admin", lastName: "Admin", trackEvents: false, newsLetter: false }),
});
if (!answer.ok) { console.error("sign-up:", answer.status, await answer.text()); process.exit(1); }
})();
' || exit 1
kill $$!
wait $$!
exec ./docker-entrypoint.sh
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_started
volumes:
- cache:/usr/src/app/cache
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_DB: activepieces
POSTGRES_USER: activepieces
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U activepieces -d activepieces"]
interval: 5s
retries: 20
volumes:
- db:/var/lib/postgresql/data
redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- redis:/data
volumes:
cache:
db:
redis:
More in Automation
- n8nWorkflow automation with a visual editor
- JenkinsAn automation server for builds, tests and deploys
- Semaphore UIA web UI for Ansible, Terraform and other automation
- Node-REDLow-code flows that wire together APIs, devices and online services
- WindmillScripts, flows and apps from Python, TypeScript, Go, SQL or Bash, run by workers on a schedule, a webhook or a button