blob: 44ee84c23a6a89453335a9510095b940f6f7bc4a (
plain) (
blame)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
services:
proxy:
image: mitmproxy/mitmproxy
entrypoint: ["mitmweb"]
command: >
--web-host 0.0.0.0
--listen-port 9090
-s /addons/capture.py
--set confdir=/mitmproxy-data
ports:
- "8081:8080"
- "9090:9090"
volumes:
- ./test/mitmproxy:/addons:ro
- ./test/mitmproxy-data:/mitmproxy-data
- ./test/captures:/captures
claude-code:
build:
context: .
dockerfile: test/Dockerfile.claude-code
depends_on:
- proxy
environment:
- HTTP_PROXY=http://proxy:9090
- HTTPS_PROXY=http://proxy:9090
- NODE_TLS_REJECT_UNAUTHORIZED=0
- CLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN}
- CLAUDE_ACCOUNT_UUID=${CLAUDE_ACCOUNT_UUID}
- CLAUDE_ORG_UUID=${CLAUDE_ORG_UUID}
volumes:
- ./test/mitmproxy-data:/mitmproxy-ca:ro
- ./test/captures:/captures
stdin_open: true
tty: true
profiles:
- code
claude-py:
build:
context: .
dockerfile: test/Dockerfile.claude-py
depends_on:
- proxy
environment:
- HTTP_PROXY=http://proxy:9090
- HTTPS_PROXY=http://proxy:9090
- CLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN}
- CLAUDE_ACCOUNT_UUID=${CLAUDE_ACCOUNT_UUID}
- CLAUDE_ORG_UUID=${CLAUDE_ORG_UUID}
volumes:
- ./test/mitmproxy-data:/mitmproxy-ca:ro
- ./test/captures:/captures
stdin_open: true
tty: true
profiles:
- py
|