> ## Documentation Index
> Fetch the complete documentation index at: https://dify-6c0370d8-docs-new-agent-experience.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 部署 Dify

> 选择部署方式，在自己的基础设施上运行 Dify

<div className="uo-wrap">
  <div className="uo-hero">
    <div className="uo-hero-text">
      <h1 className="text-3xl font-bold tracking-tight text-black dark:text-white">部署 Dify</h1>

      <p className="mt-3 text-gray-500">
        只要能运行 Docker，就能部署 Dify：笔记本、内网服务器或云端虚拟机均可。推荐使用 Docker Compose，也可在下方选择其他方式。
      </p>

      <div className="uo-actions">
        <a className="uo-cta" href="/zh/self-host/deploy/quick-start/docker-compose">使用 Docker Compose 部署</a>

        <span className="uo-secondary">
          <a href="/zh/self-host/deploy/quick-start/faqs">常见问题</a>
          <span className="mx-2 text-gray-400">·</span>
          <a href="https://github.com/langgenius/dify/releases">GitHub Releases</a>
        </span>
      </div>
    </div>
  </div>

  <div className="uo-grid">
    <Card title="本地源码" icon="code" href="/zh/self-host/deploy/advanced-deployments/local-source-code">
      需要修改或调试平台代码时，可从源码运行服务。
    </Card>

    <Card title="平台指南" icon="map" href="/zh/self-host/deploy/platform-guides/bt-panel">
      在 AWS 上运行 Dify Premium，或通过宝塔面板安装。
    </Card>

    <Card title="环境变量" icon="gear" href="/zh/self-host/deploy/configuration/environments">
      配置端口、存储、向量数据库等核心选项。
    </Card>

    <Card title="故障排除" icon="wrench" href="/zh/self-host/deploy/troubleshooting/common-issues">
      排查启动、Docker 与集成相关的常见问题。
    </Card>

    <Card title="开始创造" icon="hammer" href="/zh/self-host/use-dify/getting-started/introduction">
      登录你的实例，创建第一个应用。
    </Card>

    <Card title="获取帮助" icon="circle-question">
      向社区提问，或反馈你遇到的问题。

      <div className="uo-help-links text-sm">
        <a href="https://discord.gg/FngNHpbcY7">Discord</a>
        <span className="text-gray-400">·</span>
        <a href="https://github.com/langgenius/dify/issues">GitHub Issues</a>
        <span className="text-gray-400">·</span>
        <a href="https://github.com/langgenius/dify/discussions">讨论区</a>
      </div>
    </Card>
  </div>

  <div className="mt-10">
    <Tip>
      在 Dify Enterprise 中，你可以将 Dify 部署在 Kubernetes 上实现高可用，并使用 SSO 与多工作空间管理。如需了解更多，请 [联系销售](https://udify.app/chat/QuwcpW1oBNcfeL55)。
    </Tip>
  </div>
</div>
