-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 1.11 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
# PR-Sentry Docker Compose
# For local development and testing
services:
pr-sentry:
build:
context: .
dockerfile: Dockerfile
environment:
# Required
- GITHUB_TOKEN=${GITHUB_TOKEN}
- GITHUB_REPOSITORY=${GITHUB_REPOSITORY}
- PR_NUMBER=${PR_NUMBER}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
# Optional
- REVIEWER_PROVIDER=${REVIEWER_PROVIDER:-anthropic}
- ANTHROPIC_MODEL=${ANTHROPIC_MODEL:-claude-4-5-haiku-20251015}
- DEV_LLM_API_KEY=${DEV_LLM_API_KEY:-}
env_file:
- .env
# No ports needed - this is a CLI tool, not a server
# Development mode with mounted source code
pr-sentry-dev:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./:/app:ro # Mount source code as read-only
environment:
- GITHUB_TOKEN=${GITHUB_TOKEN}
- GITHUB_REPOSITORY=${GITHUB_REPOSITORY}
- PR_NUMBER=${PR_NUMBER}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- REVIEWER_PROVIDER=${REVIEWER_PROVIDER:-development}
- DEV_LLM_API_KEY=${DEV_LLM_API_KEY}
env_file:
- .env
profiles:
- dev