This repository contains a Railway-optimized Botpress deployment.
- ✅ Properly configured to use Railway's
$PORTenvironment variable - ✅ Binds to
0.0.0.0for external access - ✅ Based on official Botpress server image
- Create a new service in Railway
- Connect this GitHub repository
- Set environment variables:
BP_PRODUCTION=trueEXTERNAL_URL=https://your-app.railway.app
- Deploy!
BP_PRODUCTION: Set totruefor production modeEXTERNAL_URL: Your Railway deployment URLPORT: Automatically provided by Railway
The Dockerfile uses CMD sh -c "./bp --port ${PORT:-3000}" which:
- Reads Railway's dynamic
$PORTenvironment variable - Falls back to port 3000 if PORT is not set
- Allows Railway to properly proxy requests to Botpress
Built with ❤️ for Railway