-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (64 loc) · 1.73 KB
/
docker-compose.yml
File metadata and controls
68 lines (64 loc) · 1.73 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '3.8'
services:
# Default: Test skill integration
skill-test:
build:
context: .
dockerfile: Dockerfile
environment:
- PREDICATE_API_KEY=${PREDICATE_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
volumes:
- ./test-output:/app/test-output
tty: true
stdin_open: true
command: npx ts-node test-skill.ts
# Test with OpenClaw's full runtime
openclaw-test:
build:
context: .
dockerfile: Dockerfile
environment:
- PREDICATE_API_KEY=${PREDICATE_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
volumes:
- ./test-output:/app/test-output
tty: true
stdin_open: true
command: bash /app/test-openclaw-integration.sh
# Run the login demo (SDK-level)
demo-login:
build:
context: .
dockerfile: Dockerfile
environment:
- PREDICATE_API_KEY=${PREDICATE_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- HEADLESS=true
volumes:
- ./test-output:/app/test-output
tty: true
stdin_open: true
command: npm run demo:login
# Run with visible browser (requires X11/VNC)
demo-headed:
build:
context: .
dockerfile: Dockerfile
environment:
- PREDICATE_API_KEY=${PREDICATE_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- HEADLESS=false
- DISPLAY=:99
volumes:
- ./test-output:/app/test-output
tty: true
stdin_open: true
command: >
bash -c "Xvfb :99 -screen 0 1920x1080x24 &
sleep 2 &&
npm run demo:login"