Files
dify/docker/docker-compose.e2b.yaml
-LAN-andautofix-ci[bot] 53ea596fc7 fix(docker): honor categorized service environment overrides (#45359)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-03 01:58:43 +00: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: