steelbot/docker-compose.prod.yml
caelum0x 4b2262e406 feat: Steelbot — autonomous AI agent with USDC wallet on Base
Synthesis Hackathon submission. Built on IronClaw fork.

26 tools: Locus payments (6), Uniswap DeFi (3), onchain reads (3),
security scanning (2), wallet analytics (3), OpenRouter LLM (2),
self-hosted scraping (3), portfolio (2), synthesis (2).

3 defense hooks: spending limits ($5/tx, $25/session), contract guard
(SCONE-bench vulnerability patterns), credential guard (blocks private
key/seed phrase leaks).

Payment system (Polar.sh), landing page, license key gating (Free/Pro/
Unlimited tiers), brand rename from IronClaw to Steelbot.

9,669 lines of code. 3,665 tests passing. Zero clippy warnings.
Real USDC transactions on Base chain.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 01:53:00 +03:00

48 lines
1.1 KiB
YAML

# Production docker-compose for Steelbot + PostgreSQL.
#
# Usage:
# docker compose -f docker-compose.prod.yml up -d --build
#
# Override secrets via .env file or environment variables.
services:
steelbot:
build: .
ports:
- "3000:3000"
environment:
DATABASE_URL: postgres://steelbot:steelbot@db:5432/steelbot
RUST_LOG: ironclaw=info
GATEWAY_HOST: "0.0.0.0"
GATEWAY_PORT: "3000"
env_file:
- path: .env
required: false
depends_on:
db:
condition: service_healthy
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:3000/api/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
db:
image: pgvector/pgvector:pg16
environment:
POSTGRES_USER: steelbot
POSTGRES_PASSWORD: steelbot
POSTGRES_DB: steelbot
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U steelbot"]
interval: 5s
timeout: 3s
retries: 5
volumes:
pgdata: