-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
32 lines (31 loc) · 1.09 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
32 lines (31 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Data Workers - Development Overrides
# Usage: docker compose -f docker-compose.yml -f docker-compose.dev.yml up
#
# Adds hot-reload via volume mounts and tsx watch mode.
# Source changes are reflected immediately without rebuilding.
services:
data-workers:
build:
context: .
dockerfile: Dockerfile
target: builder # Use the builder stage (has devDependencies)
environment:
NODE_ENV: development
LOG_LEVEL: debug
volumes:
# Mount source code for hot-reload
- ./agents:/app/agents
- ./core:/app/core
- ./connectors:/app/connectors
- ./packages:/app/packages
- ./scripts:/app/scripts
- ./tsconfig.json:/app/tsconfig.json
# Prevent overwriting container's node_modules
- /app/node_modules
- /app/agents/dw-pipelines/node_modules
- /app/core/mcp-framework/node_modules
- /app/core/agent-lifecycle/node_modules
- /app/core/validation/node_modules
- /app/core/infrastructure-stubs/node_modules
command: ["npx", "tsx", "watch", "agents/dw-pipelines/src/index.ts"]
restart: "no"