---
title: "Deploy Dify (w/Plugins) 1.7.2"
description: "Deploy and Host Dify (w/Plugins) 1.7.2 with Railway"
category: "Other"
url: https://railway.com/deploy/dify-wplugins-172
---

# Deploy Dify (w/Plugins) 1.7.2

Deploy and Host Dify (w/Plugins) 1.7.2 with Railway

**[Deploy Dify (w/Plugins) 1.7.2 on Railway](https://railway.com/template/dify-wplugins-172)**

- **Creator:** Automatiza A.I.
- **Category:** Other
- **Total deploys:** 67

## Template content

### plugin-daemon https://cdn.zeabur.com/dify-icon.png

- **Image:** langgenius/dify-plugin-daemon:0.2.0-local

### Storage https://res.cloudinary.com/h5kvzw/image/upload/v1706062979/MINIO_Bird_vbtpet.png

- **Image:** minio/minio:RELEASE.2025-02-28T09-55-16Z
- **Start command:** `/bin/sh -c "exec minio server --address [::]:$MINIO_PRIVATE_PORT $RAILWAY_VOLUME_MOUNT_PATH"`

### Sandbox https://cdn.zeabur.com/dify-icon.png

- **Image:** langgenius/dify-sandbox:0.2.12

### Web https://cdn.zeabur.com/dify-icon.png

- **Image:** langgenius/dify-web:1.7.2
- **Public domain:** Yes

### Worker https://cdn.zeabur.com/dify-icon.png

- **Image:** langgenius/dify-api:1.7.2

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** postgres:15-alpine
- **Start command:** `/bin/sh -c "unset PGPORT; docker-entrypoint.sh postgres --port=5432"`

### Api https://cdn.zeabur.com/dify-icon.png

- **Image:** langgenius/dify-api:1.7.2
- **Public domain:** Yes

### Weaviate https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/publication/logo/35d9c94b-b826-4592-8ada-f26fb501b5d4/weaviate-logo-light-transparent.png

- **Image:** semitechnologies/weaviate:1.19.0

### Redis https://devicons.railway.app/redi

- **Image:** redis:6-alpine

### Storage provision https://res.cloudinary.com/h5kvzw/image/upload/v1706062979/MINIO_Bird_vbtpet.png

- **Image:** minio/mc:RELEASE.2025-02-21T16-00-46Z
- **Start command:** `/bin/sh -c "sleep 10 && /usr/bin/mc config host add minio ${MINIO_ENDPOINT} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD} && /usr/bin/mc mb minio/${MINIO_BUCKET} && /usr/bin/mc anonymous set public minio/${MINIO_BUCKET}/public && exit 0"`

## Documentation

# Deploy and Host Dify on Railway

**Dify** is an open-source platform for building production-grade LLM apps. It blends agentic workflows, RAG pipelines, model management, observability, and a visual builder so teams can go from prototype to production fast, while keeping full control in self-hosted setups. ([GitHub][1], [Dify Docs][2])

## About Hosting Dify

Hosting Dify on Railway is straightforward: provision a service from this template, set environment variables, and connect core services. Dify runs well via Docker Compose or Helm; for production you’ll typically wire up PostgreSQL, Redis, an object store (S3/Azure/OSS/GCS), and a vector database. Configure public URLs (console and API), enable HTTPS on a custom domain, and monitor logs as you scale resources. If you choose local file storage, mount a persistent Volume; otherwise point Dify to external object storage. This mirrors Dify’s self-hosting guidance and common K8s/Docker setups. ([Dify Docs][3], [Dify][4], [Artifact Hub][5])

## Common Use Cases

* Build agentic assistants and workflow-driven AI apps for support, ops, and internal tools. ([GitHub][1])
* Create RAG pipelines and knowledge bases with vector search and observability. ([Dify Docs][2])
* Extend with plugins and integrate multiple model providers securely via environment variables. ([Dify Docs][6])

## Dependencies for Dify Hosting

* **Core services:** PostgreSQL and Redis; **File storage:** local or S3-compatible backends (S3, Azure Blob, OSS, etc.). ([Dify][4], [Artifact Hub][5])
* **Vector database:** Weaviate, Qdrant, Milvus, pgvector and many others (configurable via `VECTOR_STORE`). ([GitHub][7])

### Deployment Dependencies

```text
Dify self-hosted install: https://docs.dify.ai/getting-started/install-self-hosted
Docker Compose guide:    https://docs.dify.ai/getting-started/install-self-hosted/docker-compose
Environment variables:   https://docs.dify.ai/getting-started/install-self-hosted/environments
Helm chart (ArtifactHub): https://artifacthub.io/packages/helm/dify/dify
GitHub repo:             https://github.com/langgenius/dify
Railway Variables:       https://docs.railway.com/guides/variables
Railway Volumes:         https://docs.railway.app/reference/volumes
Public Networking &amp; Domains: https://docs.railway.app/guides/public-networking#custom-domains
```

## Why Deploy Dify 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 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.



[1]: https://github.com/langgenius/dify?utm_source=chatgpt.com "langgenius/dify: Production-ready platform for agentic ..."
[2]: https://docs.dify.ai/getting-started/readme/features-and-specifications?utm_source=chatgpt.com "Features and Specifications"
[3]: https://docs.dify.ai/getting-started/install-self-hosted/docker-compose?utm_source=chatgpt.com "Docker Compose Deployment"
[4]: https://legacy-docs.dify.ai/getting-started/install-self-hosted/environments?utm_source=chatgpt.com "Environment Variables Explanation"
[5]: https://artifacthub.io/packages/helm/dify/dify?utm_source=chatgpt.com "Dify Helm Chart"
[6]: https://docs.dify.ai/plugins/publish-plugins/publish-plugin-on-personal-github-repo?utm_source=chatgpt.com "Publish to Your Personal GitHub Repository - Dify Docs"
[7]: https://github.com/langgenius/dify/discussions/20513?utm_source=chatgpt.com "Help! About vector database #20513 - langgenius dify"


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/dify-wplugins-172
