localhost don't have the workflow tools #4057

Closed
opened 2026-02-21 18:04:35 -05:00 by yindo · 3 comments
Owner

Originally created by @carycode4fun on GitHub (Jun 12, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

image when I use docker to run dify, there is no workflow tools
Originally created by @carycode4fun on GitHub (Jun 12, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Please do not modify this template :) and fill in all the required fields. ### Provide a description of requested docs changes <img width="507" alt="image" src="https://github.com/langgenius/dify/assets/37956285/685abaa2-928b-4c49-8e23-8851b12dff9c"> when I use docker to run dify, there is no workflow tools
yindo added the 🌊 feat:workflow label 2026-02-21 18:04:35 -05:00
yindo closed this issue 2026-02-21 18:04:35 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jun 12, 2024):

Hey @careylzy! I'm here to help you with any issues you encounter. I can assist with bug fixes, answer questions, and guide you to become a contributor. Let's tackle this together!

To enable the workflow tools in your Docker setup of Dify running on localhost, ensure that the sandbox service is properly configured and running. The sandbox service is responsible for code execution, which is essential for the workflow tools.

Here is the relevant section of the docker-compose.middleware.yaml file that you need to check:

# The DifySandbox
sandbox:
  image: langgenius/dify-sandbox:0.2.1
  restart: always
  environment:
    API_KEY: dify-sandbox
    GIN_MODE: 'release'
    WORKER_TIMEOUT: 15
    ENABLE_NETWORK: 'true'
    HTTP_PROXY: 'http://ssrf_proxy:3128'
    HTTPS_PROXY: 'http://ssrf_proxy:3128'
    SANDBOX_PORT: 8194
  volumes:
    - ./volumes/sandbox/dependencies:/dependencies
  networks:
    - ssrf_proxy_network

Ensure that the sandbox service is included and correctly configured in your docker-compose.middleware.yaml file. Make sure the ENABLE_NETWORK environment variable is set to 'true'.

To start Dify, follow these steps:

  1. Clone the Dify source code:

    git clone https://github.com/langgenius/dify.git
    
  2. Navigate to the docker directory:

    cd dify/docker
    
  3. Start your Docker services:

    docker compose -f docker-compose.middleware.yaml up -d
    

This will bring up all the necessary services, including the sandbox, which is essential for enabling the workflow tools in Dify. Finally, access http://localhost/install to use the deployed Dify [1][2][3].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Jun 12, 2024): <!-- Greeting --> Hey @careylzy! I'm here to help you with any issues you encounter. I can assist with bug fixes, answer questions, and guide you to become a contributor. Let's tackle this together! <!-- Answer --> To enable the workflow tools in your Docker setup of Dify running on `localhost`, ensure that the `sandbox` service is properly configured and running. The `sandbox` service is responsible for code execution, which is essential for the workflow tools. Here is the relevant section of the `docker-compose.middleware.yaml` file that you need to check: ```yaml # The DifySandbox sandbox: image: langgenius/dify-sandbox:0.2.1 restart: always environment: API_KEY: dify-sandbox GIN_MODE: 'release' WORKER_TIMEOUT: 15 ENABLE_NETWORK: 'true' HTTP_PROXY: 'http://ssrf_proxy:3128' HTTPS_PROXY: 'http://ssrf_proxy:3128' SANDBOX_PORT: 8194 volumes: - ./volumes/sandbox/dependencies:/dependencies networks: - ssrf_proxy_network ``` Ensure that the `sandbox` service is included and correctly configured in your `docker-compose.middleware.yaml` file. Make sure the `ENABLE_NETWORK` environment variable is set to `'true'`. To start Dify, follow these steps: 1. Clone the Dify source code: ```bash git clone https://github.com/langgenius/dify.git ``` 2. Navigate to the docker directory: ```bash cd dify/docker ``` 3. Start your Docker services: ```sh docker compose -f docker-compose.middleware.yaml up -d ``` This will bring up all the necessary services, including the `sandbox`, which is essential for enabling the workflow tools in Dify. Finally, access [http://localhost/install](http://localhost/install) to use the deployed Dify <sup>[[1]](https://github.com/langgenius/dify/blob/main/docker/docker-compose.yaml)</sup><sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/en/getting-started/install-self-hosted/docker-compose.md)</sup><sup>[[3]](https://github.com/langgenius/dify/blob/main/docker/docker-compose.middleware.yaml)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@crazywoola commented on GitHub (Jun 12, 2024):

You need to make one and publish it as a tool.

@crazywoola commented on GitHub (Jun 12, 2024): You need to make one and publish it as a tool.
Author
Owner

@carycode4fun commented on GitHub (Jun 13, 2024):

@crazywoola 怎么弄呀,我没看到用到工作流的设置拖拽编排,跟你们线上的版本不一样。

@carycode4fun commented on GitHub (Jun 13, 2024): @crazywoola 怎么弄呀,我没看到用到工作流的设置拖拽编排,跟你们线上的版本不一样。
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#4057