Sign inSign up

henrybit/dify-web

By henrybit

•Updated 6 months ago

Dify is an open-source LLM app development platform.

Image
Machine learning & AI
Developer tools
Web servers
0

10K+

henrybit/dify-web repository overview

⁠Dify-Web (K8S Deployment)

[Import!] If you want deploy dify on k8s cluster, you can use this document.

Dify is an LLM application development platform that has already facilitated the creation of over 100,000 applications using Dify.AI. It combines the principles of Backend as a Service and LLMOps, encompassing the essential technology stack needed for developing AI-native applications, incorporating a built-in RAG engine. With Dify, you can independently deploy functionalities akin to Assistants API and GPTs based on any LLMs.

⁠1.Dify-Web is the web component of Dify.

Alt

⁠2.How to use Dify-Web?

⁠2.1 [Version] >= 1.0.0

If your dify-api domain is "https://dify-api.xxx.yyy⁠"

The environment in a Kubernetes YAML file looks like this.:

env:
- name: NEXT_PUBLIC_DEPLOY_ENV
    value: "PRODUCTION"
- name: NEXT_PUBLIC_API_PREFIX
    value: "https://dify-api.xxx.yyy/console/api"
- name: NEXT_PUBLIC_PUBLIC_API_PREFIX
    value: "https://dify-api.xxx.yyy/api"
- name: DEPLOY_ENV
    value: "PRODUCTION"
- name: CONSOLE_API_URL
    value: "https://dify-api.xxx.yyy"
- name: APP_API_URL
    value: "https://dify-api.xxx.yyy"
- name: MARKETPLACE_API_URL
    value: "https://marketplace.dify.ai"
- name: MARKETPLACE_URL
    value: "https://marketplace.dify.ai"
  • MARKETPLACE_API_URL is the API address of the marketplace, which is used to obtain the list of applications in the marketplace.
  • MARKETPLACE_URL is the address of the marketplace, which is used to redirect users to the marketplace for application installation and management.
⁠2.2 [Version] <= 0.15.x

If your dify-api domain is "https://dify-api.xxx.yyy⁠"

The environment in a Kubernetes YAML file looks like this.:

env:
- name: NEXT_PUBLIC_DEPLOY_ENV
  value: "PRODUCTION"
- name: NEXT_PUBLIC_API_PREFIX
  value: "https://dify-api.xxx.yyy/console/api"
- name: NEXT_PUBLIC_PUBLIC_API_PREFIX
  value: "https://dify-api.xxx.yyy/api"
- name: DEPLOY_ENV
  value: "PRODUCTION"
- name: CONSOLE_API_URL
  value: "https://dify-api.xxx.yyy"
- name: APP_API_URL
  value: "https://dify-api.xxx.yyy"

⁠3.Which port does dify-web listen on?

port: 3000

Tag summary

Content type

Image

Digest

sha256:8a1fc3cfb…

Size

157.3 MB

Last updated

6 months ago

docker pull henrybit/dify-web