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
943c6767
Unverified
Commit
943c6767
authored
Mar 11, 2024
by
Yeuoly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: sandbox
parent
4ecfe1fe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
docker-compose.middleware.yaml
docker/docker-compose.middleware.yaml
+0
-3
docker-compose.yaml
docker/docker-compose.yaml
+13
-0
No files found.
docker/docker-compose.middleware.yaml
View file @
943c6767
...
@@ -11,9 +11,6 @@ services:
...
@@ -11,9 +11,6 @@ services:
POSTGRES_DB
:
dify
POSTGRES_DB
:
dify
# postgres data directory
# postgres data directory
PGDATA
:
/var/lib/postgresql/data/pgdata
PGDATA
:
/var/lib/postgresql/data/pgdata
# The sandbox service endpoint.
CODE_EXECUTION_ENDPOINT
:
"
http://sandbox:8194"
CODE_EXECUTION_API_KEY
:
dify-sandbox
volumes
:
volumes
:
-
./volumes/db/data:/var/lib/postgresql/data
-
./volumes/db/data:/var/lib/postgresql/data
ports
:
ports
:
...
...
docker/docker-compose.yaml
View file @
943c6767
...
@@ -122,6 +122,9 @@ services:
...
@@ -122,6 +122,9 @@ services:
SENTRY_TRACES_SAMPLE_RATE
:
1.0
SENTRY_TRACES_SAMPLE_RATE
:
1.0
# The sample rate for Sentry profiles. Default: `1.0`
# The sample rate for Sentry profiles. Default: `1.0`
SENTRY_PROFILES_SAMPLE_RATE
:
1.0
SENTRY_PROFILES_SAMPLE_RATE
:
1.0
# The sandbox service endpoint.
CODE_EXECUTION_ENDPOINT
:
"
http://sandbox:8194"
CODE_EXECUTION_API_KEY
:
dify-sandbox
depends_on
:
depends_on
:
-
db
-
db
-
redis
-
redis
...
@@ -286,6 +289,16 @@ services:
...
@@ -286,6 +289,16 @@ services:
# ports:
# ports:
# - "8080:8080"
# - "8080:8080"
# The DifySandbox
sandbox
:
image
:
langgenius/dify-sandbox:latest
restart
:
always
environment
:
# The DifySandbox configurations
API_KEY
:
dify-sandbox
ports
:
-
"
8194:8194"
# Qdrant vector store.
# Qdrant vector store.
# uncomment to use qdrant as vector store.
# uncomment to use qdrant as vector store.
# (if uncommented, you need to comment out the weaviate service above,
# (if uncommented, you need to comment out the weaviate service above,
...
...
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