Self-Host Dify with Docker Compose
Dify is an open-source LLM app development platform. Its intuitive interface combines Agentic AI workflows, Prompt Engineering, RAG pipeline orchestration, and model monitoring.
Minimum Hardware Requirements
version: '3.8'
services:
dify:
image: langgenius/dify-api:latest
container_name: dify
restart: unless-stopped
ports:
- "80:80"
environment:
- NODE_ENV=production
- TZ=UTC
volumes:
- dify_data:/data
volumes:
dify_data:
driver: local
docker-compose.yml and run:
docker compose up -d
VPS RAM & Server Sizing Calculator
Planning to run Dify alone or alongside other self-hosted containers on one VPS? Toggle apps to calculate your exact RAM needs with a 25% safety buffer.
Matched Cloud VPS Tiers for Selected Workload:
Replaces Coze
Commercial cloud solution with per-user monthly subscription fees.
More Ai Llms Apps View All →
Compare Dify
Benchmark specs head-to-head with other open-source alternatives
Compare Dify Side-by-Side
Select any open-source tool from the dropdown to run a hardware, memory, and popularity benchmark against Dify.