Railway | FlowiseAI (original) (raw)
- Configurationchevron-right
- Deployment
Railway
Learn how to deploy Flowise on Railway
- Change to your preferred repository name and click Deploy
- If succeeds, you should be able to see a deployed URL
- To add authorization, navigate to Variables tab and add:
That's it! You now have a deployed Flowise on Railway 🎉arrow-up-right🎉arrow-up-right
The default filesystem for services running on Railway is ephemeral. Flowise data isn’t persisted across deploys and restarts. To solve this issue, we can use Railway Volumearrow-up-right.
To ease the steps, we have a Railway template with volume mounted: https://railway.app/template/nEGbjRarrow-up-right
Just click Deploy and fill in the Env Variables like below:
- DATABASE_PATH -
/opt/railway/.flowise - APIKEY_PATH -
/opt/railway/.flowise - LOG_PATH -
/opt/railway/.flowise/logs - SECRETKEY_PATH -
/opt/railway/.flowise - BLOB_STORAGE_PATH -
/opt/railway/.flowise/storage
Now try creating a flow and save it in Flowise. Then try restarting service or redeploy, you should still be able to see the flow you have saved previously.