mirror of https://github.com/langgenius/dify.git
enhance: sandbox-docker-compose
This commit is contained in:
parent
0c709afe5c
commit
ef700b2688
|
|
@ -134,5 +134,5 @@ SSRF_PROXY_HTTPS_URL=
|
|||
BATCH_UPLOAD_LIMIT=10
|
||||
|
||||
# CODE EXECUTION CONFIGURATION
|
||||
CODE_EXECUTION_ENDPOINT=
|
||||
CODE_EXECUTION_API_KEY=
|
||||
CODE_EXECUTION_ENDPOINT=http://127.0.0.1:8194
|
||||
CODE_EXECUTION_API_KEY=dify-sandbox
|
||||
|
|
|
|||
|
|
@ -55,9 +55,12 @@ services:
|
|||
sandbox:
|
||||
image: langgenius/dify-sandbox:latest
|
||||
restart: always
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
environment:
|
||||
# The DifySandbox configurations
|
||||
API_KEY: dify-sandbox
|
||||
GIN_MODE: 'release'
|
||||
ports:
|
||||
- "8194:8194"
|
||||
|
||||
|
|
|
|||
|
|
@ -293,9 +293,12 @@ services:
|
|||
sandbox:
|
||||
image: langgenius/dify-sandbox:latest
|
||||
restart: always
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
environment:
|
||||
# The DifySandbox configurations
|
||||
API_KEY: dify-sandbox
|
||||
GIN_MODE: release
|
||||
ports:
|
||||
- "8194:8194"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue