Skip to main contentRailway simplifies your infrastructure stack from servers to observability with a single, scalable, easy-to-use platform. With Railway’s one-click deployment, you can get Activepieces up and running in minutes without managing servers, databases, or infrastructure.
What Gets Deployed
The Railway template deploys Activepieces with the following components:
- Activepieces Application: The main Activepieces container running the latest version from Docker Hub
- PostgreSQL Database: Managed PostgreSQL database for storing flows, executions, and application data
- Redis Cache: Redis instance for job queuing and caching (optional, can use in-memory cache)
- Automatic SSL: Railway provides automatic HTTPS with SSL certificates
- Custom Domain Support: Configure your own domain through Railway’s dashboard
Prerequisites
Before deploying, ensure you have:
- A Railway account (free tier available)
- Basic understanding of environment variables (optional, for advanced configuration)
Quick Start
- Click the deploy button above to open Railway’s deployment interface
- Configure environment variables for advanced usage (see Configuration below)
- Deploy - Railway will automatically provision resources and start your instance
Once deployed, Railway will provide you with a public URL where your Activepieces instance is accessible.
Configuration
Environment Variables
Railway allows you to configure Activepieces through environment variables. You can set these in the Railway dashboard under your project’s Variables tab.
Execution Mode
Configure the execution mode for security and performance:
See the Workers & Sandboxing documentation for details on each mode.
Other Important Variables
AP_TELEMETRY_ENABLED: Enable/disable telemetry (default: false)
For a complete list of all available environment variables, see the Environment Variables documentation.
Custom Domain Setup
Railway supports custom domains with automatic SSL:
- Go to your Railway project dashboard
- Navigate to Settings → Networking
- Add your custom domain
- Update
AP_FRONTEND_URL environment variable to match your custom domain
- Railway will automatically provision SSL certificates
For more details on SSL configuration, see the Setup SSL guide.
Production Considerations
Before deploying to production, review these important points:
Observability
Railway provides built-in observability features for Activepieces. You can view logs and metrics in the Railway dashboard.
Upgrading
To upgrade to a new version of Activepieces on Railway:
- Go to your Railway project dashboard
- Navigate to Deployments
- Click Redeploy on the latest deployment
- Railway will pull the latest Activepieces image and redeploy
Before upgrading, review the Breaking Changes documentation to ensure compatibility with your flows and configuration.
Next Steps
After deploying Activepieces on Railway:
- Access your instance using the Railway-provided URL
- Create your first flow - see Building Flows
- Configure webhooks - see Setup App Webhooks
- Explore pieces - browse available integrations in the piece library
Additional Resources