mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-06 16:53:56 +00:00
trace_path mode=run walks what a Service or workload runs: traffic to the workload (INFRA_MAPS), the Image its container runs (USAGE), the Dockerfile that builds it and what that builds on (DEPENDS_ON), the program its ENTRYPOINT starts (SPAWNS) and the environment each container is given (CONFIGURES) -- Service -> Deployment -> Image -> Dockerfile -> main in one call. The README lists the Image label, the container edges (a Dockerfile's bases and entrypoint, image references, the build vias, compose services, container environment) and the new mode. The complexity guard gets the container layer: a fixture with multi-stage Dockerfiles, an ENTRYPOINT script and a compose project building two components of one repository, its nodes and edges gated linear per copy, and the Image edges the component split examines gated linear too -- every copy's builds join one repository Image by design, so that join must stay linear. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
21 lines
336 B
YAML
21 lines
336 B
YAML
services:
|
|
web:
|
|
image: acme/cx-app:1-web
|
|
build: .
|
|
depends_on:
|
|
- db
|
|
environment:
|
|
DB_HOST: db
|
|
LOG_LEVEL: info
|
|
worker:
|
|
image: acme/cx-app:1-worker
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.worker
|
|
depends_on:
|
|
- db
|
|
environment:
|
|
- QUEUE
|
|
db:
|
|
image: postgres:16
|