diff --git a/apps/dify/0.15.3/data.yml b/apps/dify/0.15.3/data.yml index 5064d8b3..d96767ff 100644 --- a/apps/dify/0.15.3/data.yml +++ b/apps/dify/0.15.3/data.yml @@ -23,6 +23,14 @@ additionalProperties: required: true rule: paramPort type: number + - default: 5003 + disabled: true + envKey: PLUGIN_DEBUGGING_PORT + labelZh: 插件调试端口 + labelEn: Plugin debugging port + required: true + rule: paramPort + type: number - default: 19530 disabled: true envKey: MILVUS_STANDALONE_PORT1 diff --git a/apps/dify/0.15.3/docker-compose.yml b/apps/dify/0.15.3/docker-compose.yml index fc74f1ca..7dc0268d 100644 --- a/apps/dify/0.15.3/docker-compose.yml +++ b/apps/dify/0.15.3/docker-compose.yml @@ -525,6 +525,28 @@ services: networks: - ssrf_proxy_network + plugin_daemon: + image: langgenius/dify-plugin-daemon:0.0.1-local + container_name: plugin_daemon-${CONTAINER_NAME} + restart: always + environment: + <<: *shared-api-worker-env + DB_DATABASE: ${DB_PLUGIN_DATABASE:-dify_plugin} + SERVER_PORT: ${PLUGIN_DAEMON_PORT:-5002} + SERVER_KEY: ${PLUGIN_DAEMON_KEY:-lYkiYYT6owG+71oLerGzA7GXCgOT++6ovaezWAjpCjf+Sjc3ZtU+qUEi} + MAX_PLUGIN_PACKAGE_SIZE: ${PLUGIN_MAX_PACKAGE_SIZE:-52428800} + PPROF_ENABLED: ${PLUGIN_PPROF_ENABLED:-false} + DIFY_INNER_API_URL: ${PLUGIN_DIFY_INNER_API_URL:-http://api:5001} + DIFY_INNER_API_KEY: ${INNER_API_KEY_FOR_PLUGIN:-QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1} + PLUGIN_REMOTE_INSTALLING_HOST: ${PLUGIN_REMOTE_INSTALL_HOST:-0.0.0.0} + PLUGIN_REMOTE_INSTALLING_PORT: ${PLUGIN_REMOTE_INSTALL_PORT:-5003} + PLUGIN_WORKING_PATH: ${PLUGIN_WORKING_PATH:-/app/storage/cwd} + FORCE_VERIFYING_SIGNATURE: ${FORCE_VERIFYING_SIGNATURE:-true} + ports: + - ${EXPOSE_PLUGIN_DEBUGGING_PORT:-5003}:${PLUGIN_DEBUGGING_PORT:-5003} + volumes: + - ${DIFY_ROOT_PATH}/volumes/plugin_daemon:/app/storage + ssrf_proxy: image: ubuntu/squid:latest container_name: ssrf_proxy-${CONTAINER_NAME}