Railway
Learn how to deploy Flowise on Railway
Last updated
Learn how to deploy Flowise on Railway
Last updated
Click the following prebuilt template
Click Deploy Now
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:
FLOWISE_USERNAME
FLOWISE_PASSWORD
There are list of env variables you can configure. Refer to Environment Variables
That's it! You now have a deployed Flowise on Railway 🎉🎉
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 Volume.
To ease the steps, we have a Railway template with volume mounted: https://railway.app/template/nEGbjR
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.