ele

ele

ele

Come and get the benefits, Tencent Cloud Cloud Studio big benefits!!! Six

cloud studio went on docker last night.
This adds infinite possibilities to cs.

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

image

Today we are using docker to deploy dify.

As usual, we choose deepseek32b to create the machine.

  1. Pull the project files.
    After creation, 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】, then shut down and restart to avoid port occupation.

image

The author suggests that it is best to directly rename the preview.yml file. Then shut down and restart. After that, 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, it means the deployment was successful. Open the port configuration page and click the small globe icon behind 80.

image

The familiar interface has appeared.

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.