-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 953 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (37 loc) · 953 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
29
30
31
32
33
34
35
36
37
38
services:
ccloop:
build: .
container_name: ccloop
restart: unless-stopped
environment:
- GITHUB_TOKEN=${GITHUB_TOKEN}
- CLAUDE_MODEL=${CLAUDE_MODEL:-}
- MAX_RETRIES=${MAX_RETRIES:-3}
- MAX_BODY_CHARS=${MAX_BODY_CHARS:-3000}
- MAX_PROMPT_CHARS=${MAX_PROMPT_CHARS:-50000}
- SANITIZE_ENV=true
- CC_ALLOWED_TOOLS=${CC_ALLOWED_TOOLS:-Read,Edit,Write,Bash,Glob,Grep,WebSearch,WebFetch}
- CC_DISALLOWED_TOOLS=${CC_DISALLOWED_TOOLS:-Agent,NotebookEdit}
volumes:
- ccloop-workspace:/workspace
read_only: false
tmpfs:
- /tmp:noexec,size=512m
mem_limit: ${MEM_LIMIT:-2g}
cpus: ${CPU_LIMIT:-2}
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- NET_RAW
dns:
- 1.1.1.1
- 8.8.8.8
logging:
driver: json-file
options:
max-size: "50m"
max-file: "3"
volumes:
ccloop-workspace: