-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (53 loc) · 1.28 KB
/
docker-compose.yml
File metadata and controls
55 lines (53 loc) · 1.28 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
services:
redis:
image: redis:8.0
restart: unless-stopped
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
townhall:
build:
context: .
dockerfile: Dockerfile.townhall
restart: unless-stopped
depends_on:
redis:
condition: service_healthy
ports:
- "8080:8080"
- "8081:8081"
environment:
REDIS_URL: redis://redis:6379/0
TINYTOWN_TOWN_DIR: /workspace
TINYTOWN_TOWN_NAME: tinytown-docker
TINYTOWN_REST_BIND: 0.0.0.0
TINYTOWN_REST_PORT: 8080
TINYTOWN_MCP_BIND: 0.0.0.0
TINYTOWN_MCP_PORT: 8081
volumes:
- .:/workspace
agent-worker:
profiles: ["worker"]
build:
context: .
dockerfile: Dockerfile.agent-worker
depends_on:
redis:
condition: service_healthy
townhall:
condition: service_started
environment:
REDIS_URL: redis://redis:6379/0
TINYTOWN_TOWN_DIR: /workspace
TINYTOWN_TOWN_NAME: tinytown-docker
TINYTOWN_AGENT_NAME: worker-compose
TINYTOWN_AGENT_ROLE: backend
TINYTOWN_AGENT_CLI: codex
TINYTOWN_AGENT_MAX_ROUNDS: 200
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
volumes:
- .:/workspace