# Dify Sandbox
sandbox:
image: langgenius/dify-sandbox:0.2.1
restart: always
environment:
API_KEY: ${SANDBOX_API_KEY:-dify-sandbox} # Sandbox API Key
GIN_MODE: ${SANDBOX_GIN_MODE:-release}
WORKER_TIMEOUT: ${SANDBOX_WORKER_TIMEOUT:-15}
ENABLE_NETWORK: ${SANDBOX_ENABLE_NETWORK:-true}
HTTP_PROXY: ${SANDBOX_HTTP_PROXY:-http://ssrf_proxy:3128}
HTTPS_PROXY: ${SANDBOX_HTTPS_PROXY:-http://ssrf_proxy:3128}
SANDBOX_PORT: ${SANDBOX_PORT:-8194}
volumes:
- ./volumes/sandbox/dependencies:/dependencies
ports:
- "8194:8194" # 显式暴露 Sandbox 的端口为 8194
networks:
default:
driver: bridge
volumes:
db_data:
redis_data:
weaviate_data:
sandbox_data:
为啥能打开页面但是后台进不去一直转圈,api调用的问题?还是怎么回事?
ENABLE_MODULES: 'text2vec-cohere,text2vec-huggingface,text2vec-palm,text2vec-openai,generative-openai,generative-cohere,generative-palm,ref2vec-centroid,reranker-cohere,qna-openai' # 启用多个向量化模块
CLUSTER_HOSTNAME: node1
AUTHENTICATION_APIKEY_ENABLED: true
AUTHENTICATION_APIKEY_ALLOWED_KEYS: ${WEAVIATE_API_KEY:-your-api-key}
AUTHENTICATION_APIKEY_USERS: ${WEAVIATE_AUTHENTICATION_APIKEY_USERS:-bill123}
AUTHORIZATION_ADMINLIST_ENABLED: true
AUTHORIZATION_ADMINLIST_USERS: ${WEAVIATE_AUTHORIZATION_ADMINLIST_USERS:-bill123} # 设置为同一用户
ports:
- "5303:8080" # 显式暴露 Weaviate 的端口为 5303
关注数量超出限制,
请先删除部分内容再尝试