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
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)
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_URLenvironment variable to match your custom domain - Railway will automatically provision SSL certificates
Production Considerations
Before deploying to production, review these important points:- Review Security Practices documentation
- Configure
AP_WORKER_CONCURRENCYbased on your workload and hardware resources - Ensure PostgreSQL backups are configured in Railway
- Consider database scaling options in Railway
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
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
- Troubleshooting: Troubleshooting guide
- Configuration Guide: Comprehensive configuration documentation
- Environment Variables: Complete list of configuration options
- Architecture Overview: Understand Activepieces architecture
- Railway Documentation: Official Railway platform documentation