Minikube
Requirements
- Minikube
- 4 CPU 16 GB RAM
- Helm 3.14+
- Kubectl
Installation
Start minikube
You can execute the following commands to start minikube:
Persistence Configration
You need to edit values.yaml
and set the persistence type.
For more information, please refer to the Persistent Storage.
Click here to download the
values.yaml
file.
Install Dify Enterprise
Dify Enterprise is deployed using Helm.
For more information, please refer to the Dify Helm Chart.
Set up Ingress Controller
You can execute the following commands to enable the Ingress controller on your minikube cluster:
You should use the minikube tunnel
command to expose the services to the host machine.
Access Dify Enterprise
After Ingress controller is enabled, you can set the domain in your local /etc/hosts
file.
Verify Installation
Warning: You have to init Dify Console http://console.dify.local
first before login to Dify Enterprise Dashboard http://enterprise.dify.local
.
1. Init Dify Console
- Visit
http://console.dify.local
. - Init Email and Password.
- After initialization, you will be redirected to the login page and wait for license activation.
2. Init Dify Enterprise Dashboard to Activate License
- Visit
http://enterprise.dify.local
. - Login with the default email and password. You can change the password after login.
- email:
dashboard@dify.ai
- password:
difyai123456
- email:
- License Activation: After login, a dialog will pop up to activate the license.
For more information, please refer to the License Activation.