Deploy Dify (w/ admin setup)
Dify AI app builder, admin created from the deploy form, one public URL.
Just deployed
Just deployed
Just deployed
Just deployed
Redis
Just deployed
/data
Postgres
Just deployed
/var/lib/postgresql/data
Just deployed
Just deployed
Plugin daemon
Just deployed
/app/storage
Scheduler
Just deployed
Bucket
Bucket
Just deployed
Deploy and Host Dify (w/ admin setup) on Railway
Dify is an open-source builder for AI apps, agents and workflows. This template creates your admin from the deploy form and serves Dify on one URL, so you sign in as soon as it's up.

About Hosting Dify (w/ admin setup)
You get Dify 1.18, Postgres with pgvector, Redis and a Railway Bucket for files. Enter your email and a password when you deploy, open the Dify service's URL, sign in and add a model provider in Settings. It needs about 2.2 GB of memory: Trial, Hobby or Pro plan.
Common Use Cases
- Chatbots on your own documents
- AI workflows with code steps
- Internal assistants and agents
Dependencies for Dify (w/ admin setup) Hosting
- PostgreSQL (pgvector)
- Redis
- Railway Bucket
Deployment Dependencies
Implementation Details

Optional SMTP fields on the API service send invitations and password resets; SMTP needs a Railway Pro plan. Back up Postgres and the Bucket.
Why Deploy Dify (w/ admin setup) on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Dify (w/ admin setup) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Updated 2026-10-29: SMTP plan note, Dify 1.18.0.
Template Content
ADMIN_EMAIL
Your email address. You sign in to Dify with it; Setup creates this admin on the first deploy.
ADMIN_PASSWORD
Your Dify password: at least 8 characters, with a letter and a number.
Redis
redis:8.2Postgres
pgvector/pgvector:pg17Plugin daemon
langgenius/dify-plugin-daemon:0.6.12-localScheduler
langgenius/dify-api:1.18.0Bucket
Bucket

