Repository navigation
Expand file tree
/
Copy pathdocker-compose.watch.yml
More file actions
53 lines (52 loc) · 2.05 KB
/
Copy pathdocker-compose.watch.yml
File metadata and controls
53 lines (52 loc) · 2.05 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# docker-compose.watch.yml — hot-reload overrides for development
#
# Requires Docker Compose 2.22+ (introduces the `develop.watch` key).
# Kept separate from docker-compose.yml so OSS users on older Compose
# versions don't hit "Additional property develop is not allowed".
#
# Usage:
# docker compose -f docker-compose.yml -f docker-compose.watch.yml watch
# # or via make:
# make dev
services:
langgraph:
develop:
watch:
- action: sync
# Phase 0 of the core/framework/sdk split relocated the source
# tree to packages/decepticon/decepticon/. The Dockerfile
# COPY now pulls packages/, and uv sync installs editable from
# there — hot-reload mirrors the same path inside the image.
# Skills live under packages/decepticon/decepticon/skills,
# so this sync covers them too — no dedicated entry needed.
path: ./packages/decepticon/decepticon
target: /app/packages/decepticon/decepticon
- action: sync
# decepticon-core changes also live-sync into the editable
# install so plugin registry / role registry tweaks land
# without a full image rebuild.
path: ./packages/decepticon-core/decepticon_core
target: /app/packages/decepticon-core/decepticon_core
- action: sync
path: ./langgraph.json
target: /app/langgraph.json
- action: rebuild
# Any workspace pyproject change forces a rebuild — uv sync
# must re-resolve the dependency closure.
path: ./pyproject.toml
- action: rebuild
path: ./packages/decepticon/pyproject.toml
- action: rebuild
path: ./packages/decepticon-core/pyproject.toml
- action: rebuild
path: ./containers/langgraph.Dockerfile
cli:
develop:
watch:
- action: sync
path: ./clients/cli/src
target: /app/src
- action: rebuild
path: ./clients/cli/package.json
- action: rebuild
path: ./containers/cli.Dockerfile