-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 978 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
28 lines (27 loc) · 978 Bytes
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
# Local/dev runner for the review worker.
# Prod: drop the ./src bind mount — source is already baked into the image.
#
# docker compose build
# git diff | docker compose run --rm review --repo /workspace --reporter terminal
services:
review:
build:
context: .
dockerfile: Dockerfile
image: code-review-agent:dev
env_file:
- .env
environment:
# Pin trusted, bundled assets inside the image even when .env has local defaults.
SKILLS_PATH: /app/skills
REVIEW_CONFIG: /app/review.toml
# Keep file reporter artifacts outside the reviewed checkout.
REPORT_DIR: /reports
working_dir: /app
volumes:
# The checkout to review; mounted read-only to enforce read-and-report behavior.
- .:/workspace:ro
# Durable file reporter artifacts, host-visible after `docker compose run --rm`.
- ./reports:/reports
# Dev hot-reload of source — remove for prod.
- ./src:/app/src:ro