https://github.com/caoergou/dify-installer
One-click installer for Dify Docker deployment | Dify 一键安装脚本,使用 Docker Compose 部署
https://github.com/caoergou/dify-installer
ai chatgpt deployment dify docker docker-compose installer langchain llm one-click open-source self-hosted vector-database
Last synced: 3 months ago
JSON representation
One-click installer for Dify Docker deployment | Dify 一键安装脚本,使用 Docker Compose 部署
- Host: GitHub
- URL: https://github.com/caoergou/dify-installer
- Owner: caoergou
- License: mit
- Created: 2026-03-12T03:03:44.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-03-26T00:52:16.000Z (3 months ago)
- Last Synced: 2026-03-26T22:57:11.823Z (3 months ago)
- Topics: ai, chatgpt, deployment, dify, docker, docker-compose, installer, langchain, llm, one-click, open-source, self-hosted, vector-database
- Language: Shell
- Size: 36.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dify Installer - One-Click Docker Deployment
[](https://opensource.org/licenses/MIT)
[](https://github.com/caoergou/dify-installer/stargazers)
**Deploy Dify (LLM App Platform) with a single command.** Docker Compose based installation with no manual cloning, no complex configuration.
[中文文档](README_CN.md) | [Dify Official](https://github.com/langgenius/dify)
```bash
curl -sSL https://raw.githubusercontent.com/caoergou/dify-installer/main/install.sh | bash
```
---
## What is Dify?
[Dify](https://github.com/langgenius/dify) is an open-source **LLM application development platform** for building AI apps, chatbots, RAG pipelines, and AI agents. Similar to LangChain but with a visual no-code interface.
This installer uses **Docker Compose** to get you running in minutes on any Linux server.
## One-Line Install
| Region | Command |
|--------|---------|
| Global | `curl -sSL https://raw.githubusercontent.com/caoergou/dify-installer/main/install.sh \| bash` |
| China | `curl -sSL https://raw.githubusercontent.com/caoergou/dify-installer/main/install_cn.sh \| bash` |
## What You Get
- **Docker Compose deployment** - All services in containers
- Interactive setup with smart defaults
- Database: PostgreSQL or MySQL
- Vector DB: Weaviate, Qdrant, Milvus, Chroma, pgvector
- Storage: Local, S3, Azure, GCS, Aliyun OSS
- SSL: Let's Encrypt or custom certificates
## Requirements
- Docker + Docker Compose installed
- 2+ CPU cores, 4GB+ RAM
- Ports 80, 443 available
## Usage
```bash
./install.sh # Interactive setup
./install.sh --yes # Use all defaults
./install.sh --help # Show help
```
## After Installation
Services are managed via Docker Compose:
```bash
docker compose logs -f # View logs
docker compose down # Stop all services
docker compose up -d # Start all services
docker compose ps # Check status
```
Access Dify at `http://localhost` (or your configured domain).
## Documentation
- [Advanced Configuration](docs/advanced.md) - Environment variables, performance tuning, SSL
- [Chinese Advanced Docs](docs/advanced_cn.md) - 中文高级配置文档
## Links
- [Dify](https://github.com/langgenius/dify) - Official repository
- [Dify Docs](https://docs.dify.ai) - Official documentation
- [Dify Cloud](https://cloud.dify.ai) - Managed hosting
## License
MIT