diff --git a/docker/docker-compose-template.yaml b/docker/docker-compose-template.yaml index ca1b7407af..97326043fd 100644 --- a/docker/docker-compose-template.yaml +++ b/docker/docker-compose-template.yaml @@ -159,6 +159,8 @@ services: plugin_daemon: image: langgenius/dify-plugin-daemon:0.0.3-local restart: always + extra_hosts: + - "host.docker.internal:host-gateway" environment: # Use the shared environment variables. <<: *shared-api-worker-env diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 22706c2a2e..77eed56b71 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -592,6 +592,8 @@ services: plugin_daemon: image: langgenius/dify-plugin-daemon:0.0.3-local restart: always + extra_hosts: + - "host.docker.internal:host-gateway" environment: # Use the shared environment variables. <<: *shared-api-worker-env