-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
86 lines (78 loc) · 2.53 KB
/
docker-compose.test.yml
File metadata and controls
86 lines (78 loc) · 2.53 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Docker E2E test stack: coordinator + agents on top of the base EMQX broker.
# Usage: docker compose -f docker-compose.test.yml up -d --wait --build
include:
- docker-compose.yml
services:
coordinator:
build:
context: .
dockerfile: Dockerfile
depends_on:
emqx:
condition: service_healthy
environment:
MQTT_BROKER_URL: mqtt://emqx:1883
SKITTER_HOME: /home/skitter/.skitter
SKITTER_LLM_MODEL: ${SKITTER_LLM_MODEL:-claude-haiku-4-5}
SKITTER_LLM_API_KEY: ${SKITTER_LLM_API_KEY:-}
SKITTER_LLM_API: ${SKITTER_LLM_API:-anthropic}
SKITTER_LOG_LEVEL: DEBUG
networks:
- skitter
agent-claude: &claude-agent
build:
context: .
dockerfile: Dockerfile.agent
args:
UID: ${SKITTER_UID:-1000}
GID: ${SKITTER_GID:-1000}
depends_on:
emqx:
condition: service_healthy
environment:
MQTT_BROKER_URL: mqtt://emqx:1883
CLAUDE_CODE_OAUTH_TOKEN: ${CLAUDE_CODE_OAUTH_TOKEN:-}
SKITTER_AGENT_PERMISSION_MODE: bypassPermissions
SKITTER_LOG_LEVEL: DEBUG
volumes:
- ${TEST_AGENTS_DIR:-./tests/fixtures/agents}:/home/skitter/.skitter/agents:ro
command: ["test-claude"]
networks:
- skitter
agent-claude-chat:
<<: *claude-agent
command: ["test-claude-chat"]
agent-codex: &codex-agent
<<: *claude-agent
environment:
MQTT_BROKER_URL: mqtt://emqx:1883
SKITTER_AGENT_PERMISSION_MODE: bypassPermissions
SKITTER_LOG_LEVEL: DEBUG
volumes:
- ${TEST_AGENTS_DIR:-./tests/fixtures/agents}:/home/skitter/.skitter/agents:ro
- ${CODEX_AUTH_JSON}:/home/skitter/.codex/auth.json:ro
command: ["test-codex"]
agent-codex-chat:
<<: *codex-agent
command: ["test-codex-chat"]
agent-sum:
<<: *claude-agent
command: ["test-sum"]
agent-writer:
<<: *claude-agent
volumes:
- ${TEST_AGENTS_DIR:-./tests/fixtures/agents}:/home/skitter/.skitter/agents:ro
- ${TEST_WORKSPACE:-./tests/workspace}:/tmp/workspace
- ${TEST_CLAUDE_STATE:-./tests/claude-state}:/home/skitter/.claude
command: ["test-writer"]
agent-codex-writer:
<<: *claude-agent
environment:
MQTT_BROKER_URL: mqtt://emqx:1883
SKITTER_AGENT_PERMISSION_MODE: bypassPermissions
SKITTER_LOG_LEVEL: DEBUG
volumes:
- ${TEST_AGENTS_DIR:-./tests/fixtures/agents}:/home/skitter/.skitter/agents:ro
- ${CODEX_AUTH_JSON}:/home/skitter/.codex/auth.json:ro
- ${TEST_WORKSPACE:-./tests/workspace}:/tmp/workspace
command: ["test-codex-writer"]