Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
ef700b26
Unverified
Commit
ef700b26
authored
Mar 13, 2024
by
Yeuoly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enhance: sandbox-docker-compose
parent
0c709afe
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
.env.example
api/.env.example
+2
-2
docker-compose.middleware.yaml
docker/docker-compose.middleware.yaml
+3
-0
docker-compose.yaml
docker/docker-compose.yaml
+3
-0
No files found.
api/.env.example
View file @
ef700b26
...
@@ -134,5 +134,5 @@ SSRF_PROXY_HTTPS_URL=
...
@@ -134,5 +134,5 @@ SSRF_PROXY_HTTPS_URL=
BATCH_UPLOAD_LIMIT=10
BATCH_UPLOAD_LIMIT=10
# CODE EXECUTION CONFIGURATION
# CODE EXECUTION CONFIGURATION
CODE_EXECUTION_ENDPOINT=
CODE_EXECUTION_ENDPOINT=
http://127.0.0.1:8194
CODE_EXECUTION_API_KEY=
CODE_EXECUTION_API_KEY=
dify-sandbox
docker/docker-compose.middleware.yaml
View file @
ef700b26
...
@@ -55,9 +55,12 @@ services:
...
@@ -55,9 +55,12 @@ services:
sandbox
:
sandbox
:
image
:
langgenius/dify-sandbox:latest
image
:
langgenius/dify-sandbox:latest
restart
:
always
restart
:
always
cap_add
:
-
SYS_ADMIN
environment
:
environment
:
# The DifySandbox configurations
# The DifySandbox configurations
API_KEY
:
dify-sandbox
API_KEY
:
dify-sandbox
GIN_MODE
:
'
release'
ports
:
ports
:
-
"
8194:8194"
-
"
8194:8194"
...
...
docker/docker-compose.yaml
View file @
ef700b26
...
@@ -293,9 +293,12 @@ services:
...
@@ -293,9 +293,12 @@ services:
sandbox
:
sandbox
:
image
:
langgenius/dify-sandbox:latest
image
:
langgenius/dify-sandbox:latest
restart
:
always
restart
:
always
cap_add
:
-
SYS_ADMIN
environment
:
environment
:
# The DifySandbox configurations
# The DifySandbox configurations
API_KEY
:
dify-sandbox
API_KEY
:
dify-sandbox
GIN_MODE
:
release
ports
:
ports
:
-
"
8194:8194"
-
"
8194:8194"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment