---
title: "Deploy Activepieces"
description: "Open-source no-code automation. Self-host Activepieces on Railway."
category: "Automation"
url: https://railway.com/deploy/activepieces-5
---

# Deploy Activepieces

Open-source no-code automation. Self-host Activepieces on Railway.

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

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/activepieces-5/manifest.json

- **Creator:** Sendly
- **Category:** Automation
- **Total deploys:** 1

## Template content

### Activepieces https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/activepieces.svg

- **Image:** activepieces/activepieces:0.92.1
- **Public domain:** Yes

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

- **Image:** redis:8.2
- **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"`

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

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

## Buckets

- **Bucket**

## Documentation

# Deploy and Host Activepieces on Railway

![Activepieces](https://github.com/activepieces/activepieces/raw/main/docs/resources/templates.gif)

Activepieces is an open-source, self-hosted automation platform and a no-code alternative to Zapier and Make. Build workflows with a visual editor, connect 760+ apps and AI steps, and keep your data on your own infrastructure. It can also expose your integrations as an MCP server for AI assistants.

## About Hosting Activepieces

Hosting Activepieces means running the app together with a Postgres database that stores your flows, connections and run history. This template deploys everything pre-wired on Railway, so you skip the manual setup. Sensitive connections are encrypted with `AP_ENCRYPTION_KEY`, logins are signed with `AP_JWT_SECRET`, and `AP_FRONTEND_URL` points to your public domain so webhooks and OAuth redirects work. Run logs and files live in the database by default, and you can switch to S3-compatible storage later with no migration.

## Common Use Cases

- Replace Zapier or Make with a self-hosted automation platform you fully control
- Connect your apps, CRMs, spreadsheets and databases with no-code workflows
- Build AI-powered automations and give your AI assistants tools through MCP

## Dependencies for Activepieces Hosting

- Activepieces service (official Docker image)
- Postgres database (flows, connections and run history)
- Optional: S3-compatible storage for run logs and files

### Implementation Details

Key environment variables:

| Variable | Description |
| --- | --- |
| `AP_ENCRYPTION_KEY` | Encrypts stored connections. Auto-generated on deploy. Do not change it afterwards, or saved connections become unreadable. |
| `AP_JWT_SECRET` | Secret for signing login tokens. Auto-generated on deploy. |
| `AP_FRONTEND_URL` | Public URL of your instance, used for webhooks and OAuth redirects. |
| `AP_POSTGRES_URL` | Postgres connection URL. Pre-linked to the database service. |
| `AP_FILE_STORAGE_LOCATION` | `DB` (default) or `S3` for run logs and files. |

To use S3-compatible storage, also set `AP_S3_BUCKET`, `AP_S3_ACCESS_KEY_ID`, `AP_S3_SECRET_ACCESS_KEY`, `AP_S3_ENDPOINT` and `AP_S3_REGION`.

## Why Deploy Activepieces on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Activepieces on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## 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) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [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-5
