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.
Today we are using docker to deploy dify.
As usual, we choose deepseek32b to create the machine.
- Pull the project files.
After creation, entergit clone https://github.com/langgenius/dify.git
in the terminal.
- 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.
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.
- 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
- 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.
The familiar interface has appeared.
- Register administrator information.
- Log in.
At this point, we have successfully deployed dify.
See you next time for specific gameplay.