The open-source agent harness - the runtime layer that turns an LLM into a working agent.
# Host-backed development infra. Project name keeps containers separate from
# docker-compose.yml. Host ports match packages/trueforge/.env defaults.
name: trueforge-dev
services:
postgres:
image: postgres:17
env_file:
- path: packages/trueforge/.env
required: true
# Loopback-only: this stack is for local use, and the port carries a database.
ports:
- '127.0.0.1:5432:5432'
volumes:
- ./data/dev/postgres:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U "$$POSTGRES_USER" -d "$$POSTGRES_DB"']
interval: 5s
timeout: 5s
retries: 10
restart: unless-stopped
# Shared by all server replicas: carries executor peering (cross-replica
# turn cancel via request-reply).
redis:
image: redis:7-alpine
# Loopback-only: Redis runs unauthenticated and carries live peering traffic.
ports:
- '127.0.0.1:6379:6379'
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
interval: 5s
timeout: 3s
retries: 5
restart: unless-stopped