mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 07:46:31 +08:00
feat: docker-compose
This commit is contained in:
parent
b102562614
commit
a420953385
@ -11,6 +11,9 @@ 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:
|
||||||
@ -50,6 +53,16 @@ services:
|
|||||||
AUTHORIZATION_ADMINLIST_USERS: 'hello@dify.ai'
|
AUTHORIZATION_ADMINLIST_USERS: 'hello@dify.ai'
|
||||||
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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user