githubEdit

Railway

Learn how to deploy Flowise on Railway


  1. Click the following prebuilt templatearrow-up-right

  2. Click Deploy Now

  1. Change to your preferred repository name and click Deploy

  1. If succeeds, you should be able to see a deployed URL

  1. To add authorization, navigate to Variables tab and add:

  • FLOWISE_USERNAME

  • FLOWISE_PASSWORD

  1. There are list of env variables you can configure. Refer to Environment Variables

That's it! You now have a deployed Flowise on Railway 🎉arrow-up-right🎉arrow-up-right

Persistent Volume

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.

Last updated