docfast/docker-compose.yml
OpenClaw efa39661cf feat: multi-browser pooling (2 Chromium instances × 8 pages)
- Launch BROWSER_COUNT separate Chromium instances (default: 2)
- Each with PAGES_PER_BROWSER pages (default: 8, 16 total)
- Round-robin distribution across browser instances
- Independent restart scheduling per browser
- Updated health endpoint to show per-browser stats
- docker-compose: added BROWSER_COUNT and PAGES_PER_BROWSER env vars
2026-02-14 21:55:29 +00:00

29 lines
690 B
YAML

version: "3.8"
services:
docfast:
build: .
restart: unless-stopped
ports:
- "127.0.0.1:3100:3100"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- API_KEYS=${API_KEYS}
- PORT=3100
- NODE_ENV=production
- STRIPE_SECRET_KEY=${STRIPE_SECRET_KEY}
- STRIPE_WEBHOOK_SECRET=${STRIPE_WEBHOOK_SECRET}
- BASE_URL=${BASE_URL:-https://docfast.dev}
- PRO_KEYS=${PRO_KEYS}
- SMTP_HOST=host.docker.internal
- SMTP_PORT=25
- POOL_SIZE=15
- BROWSER_COUNT=2
- PAGES_PER_BROWSER=8
volumes:
- docfast-data:/app/data
mem_limit: 2560m
cpus: 1.5
volumes:
docfast-data: