-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (35 loc) Β· 2.05 KB
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (35 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
services:
pr-review-agent:
build:
context: .
dockerfile: Dockerfile
image: xianix-pr-review-agent:latest
restart: unless-stopped
environment:
# ββ Xians platform ββββββββββββββββββββββββββββββββββββββββββββββββββββ
XIANS_SERVER_URL: ${XIANS_SERVER_URL}
XIANS_API_KEY: ${XIANS_API_KEY}
# ββ Claude (Anthropic) ββββββββββββββββββββββββββββββββββββββββββββββββ
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY}
# ββ Git identity (used for commits in --fix mode) βββββββββββββββββββββ
GIT_USER_NAME: ${GIT_USER_NAME}
GIT_USER_EMAIL: ${GIT_USER_EMAIL}
# ββ GitHub ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
GITHUB_TOKEN: ${GITHUB_TOKEN:-}
# ββ Azure DevOps ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
AZURE_TOKEN: ${AZURE_TOKEN:-}
GIT_TOKEN: ${GIT_TOKEN:-}
# ββ Script tuning (optional) ββββββββββββββββββββββββββββββββββββββββββ
# PR_REVIEW_TIMEOUT_MINUTES: 20
# GIT_FETCH_DEPTH: 50
# XIANIX_REPO: https://github.com/99x/xianix-team.git
volumes:
# Persist the bare-clone cache and the xianix-team plugin repo across
# container restarts so subsequent reviews skip the initial git clone.
- pr-review-cache:/tmp/pr-review-cache
# Claude's local state (session cache, MCP config, etc.)
# Container runs as non-root user 'agent' (uid 1001) β not /root
- claude-home:/home/agent/.claude
volumes:
pr-review-cache:
claude-home: