Files
gsfdc/demo-dify/dify/docker/docker-compose.e2b.yaml
T
wuzilongandCursor 6519682885 chore: 纳入本地 Dify 1.19.0 源码及品牌与免登改动
演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 13:59:25 +08:00

49 lines
1.0 KiB
YAML

x-api-build: &api-build
context: ..
dockerfile: api/Dockerfile
services:
api:
image: dify-api:e2b-local
build: *api-build
api_websocket:
image: dify-api:e2b-local
build: *api-build
worker:
image: dify-api:e2b-local
build: *api-build
worker_beat:
image: dify-api:e2b-local
build: *api-build
agent_backend:
image: dify-agent-backend:e2b-local
build:
context: ..
dockerfile: dify-agent/Dockerfile
environment:
DIFY_AGENT_RUNTIME_BACKEND: e2b
ports:
- "${EXPOSE_AGENT_BACKEND_PORT:-15050}:5050"
plugin_daemon:
ports: !override []
# Keep the normal local sandbox out of an E2B deployment without changing
# the default compose stack.
local_sandbox:
profiles:
- local-agent-sandbox
# This overlay is intended for branch validation and deliberately starts
# from an isolated PostgreSQL data volume.
db_postgres:
volumes: !override
- dify_e2b_postgres_data:/var/lib/postgresql/data
volumes:
dify_e2b_postgres_data: