---
title: "Deploy Activepieces"
description: "Self-hosted Activepieces: open-source Zapier & n8n alternative, no limits"
category: "Automation"
url: https://railway.com/deploy/activepieces-2
---

# Deploy Activepieces

Self-hosted Activepieces: open-source Zapier & n8n alternative, no limits

**[Deploy Activepieces on Railway](https://railway.com/template/activepieces-2)**

- **Creator:** Charles K
- **Category:** Automation

## Template content

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### activepieces

- **Image:** ghcr.io/activepieces/activepieces:0.83.0
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

## Documentation

# Deploy and Host Activepieces on Railway

Activepieces is an open-source, AI-first automation platform and a self-hostable alternative to Zapier, Make, and n8n. Build unlimited workflows across 400+ integrations like Slack, Gmail, HubSpot, and OpenAI, add native AI steps, and write custom pieces in TypeScript. This template runs Activepieces with Postgres and Redis, ready in one click, with no per-task fees.

## About Hosting Activepieces

This template deploys three services: the Activepieces app that runs the web UI, API, and flow worker, a PostgreSQL database that stores your flows and credentials, and a Redis instance for the job queue. All secrets, including the encryption key, JWT secret, and database passwords, are generated automatically on deploy, and the app is pre-wired to the database and queue using Railway reference variables. Persistent volumes keep your data across redeploys. After deploying, open the generated domain to create your admin account. If you add a custom domain, update AP_FRONTEND_URL to that domain so webhooks and triggers resolve correctly.

## Why Deploy Activepieces on Railway?

Railway makes hosting Activepieces effortless. The app, Postgres, and Redis deploy together in one click, secrets are generated automatically, and private networking wires the services together. You get persistent storage, automatic HTTPS, and simple scaling without managing Docker Compose or a VPS.

## Common Use Cases

- Automate lead routing, notifications, and data sync across SaaS tools without per-task Zapier or Make fees
- Build internal AI agents and chatbots using 400+ pieces and native LLM steps
- Self-host workflow automation to keep customer data on your own infrastructure

## Dependencies for Activepieces Hosting

- A PostgreSQL database (included in this template)
- A Redis instance (included in this template)

### Deployment Dependencies

- [Activepieces documentation](https://www.activepieces.com/docs)
- [Activepieces on GitHub](https://github.com/activepieces/activepieces)

## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — [Jul'26] WhatsApp automation platform using Evolution API, n8n & PostgreSQL
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/activepieces-2
