ele

ele

ele

Come for the wool, Tencent Cloud Cloud Studio big wool!!! Six

cloud studio went online with docker last night.
This adds infinite possibilities for cs.

ps: docker now only supports creating machines through the 4 deepseek templates in the universal space.

image

Today we will use docker to deploy dify.

As usual, we choose deepseek32b to create the machine.

  1. Pull the project files.
    After creating it, enter git clone https://github.com/langgenius/dify.git in the terminal.

image

  1. Shut down the openwebui that comes with the template, as it occupies ports 8080 and 3000, conflicting with some service ports of dify.
    Modify the preview.yml file in the vscode folder, comment out the open-webui startup information and the part for port 3000 [it is strongly recommended to rename the preview.yml file]. After that, shut down and restart to avoid port occupation.

image

The author suggests that it is best to directly rename the preview.yml file. After that, shut down and restart. Then proceed to step three.

  1. Start the service.
    First, enter the docker directory, copy and replace the configuration, and start the service.
    cd ./dify/docker
    cp .env.example .env
    docker compose up -d
    

image

  1. Open the web page.
    If you see this interface without any errors, the deployment is successful. Open the port configuration page and click the small globe icon behind 80.

image

The familiar interface appears.

image

  1. Register administrator information.

image

  1. Log in.

image

image

At this point, we have successfully deployed dify.
See you next time for specific gameplay.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.