Dify Quickstart: self-host the AI workspace with Compose
Clone, copy .env, docker compose up. Official minimum 2 CPU / 4 GiB RAM. Create the admin, then wire one model for knowledge Q&A.
Open the official tutorial| Item | Details |
|---|---|
| Provider | Dify |
| Level | Beginner |
| Date | 2026-09-04 |
| Official source | Dify |
| Topics | #llm · #agents · #engineering |
Install
Official docker/README:
bash git clone https://github.com/langgenius/dify.git cd dify/docker cp .env.example .env docker compose up -d
Needs Docker Compose 2.24+. Official minimum: 2 CPU / 4 GiB RAM.
Init
Open http://localhost/install to create the admin (check .env if you changed ports).
License and data
Apache-2.0 plus conditions: multi-tenant SaaS needs a commercial license; don't strip the frontend logo. App data can stay self-hosted; model calls usually still leave.
Official source: langgenius/dify docker/README. Hub: /en/dify.
Sources & Further Reading
This page is grounded in the authoritative sources below — verifiable and citable by AI engines and readers.
- 🔗 Official source
- # Topic: LLMsLLM capabilities, products and best practices
- # Topic: AgentsBuilding, orchestrating and shipping AI agents
- # Topic: EngineeringAPIs, prompting and system design
Citation: Please attribute Laojin Global (laojinchuhai.com) and keep the original link.
Made by Laojin · AI that ships
AllModelsAPIOne key for many models
AllModelsAPI is a multi-model API gateway: one key reaches many models through an OpenAI-compatible interface — point your existing code at a new base URL and you're migrated. It's not a demo: our own production workloads run on it every day.
More from Laojin: Sellenca · 365AIOrg · 365Loopa · 365 Ops · 365Skill
Related
Linked by topic, people and hubs