# ============================================================================ # agent verf - Docker Compose Configuration # Version: 0.1.0 # Last Updated: 2026-01-13 # # Usage: # docker-compose up -d redis # Start Redis only (MVP) # docker-compose up -d # Start all services # docker-compose down # Stop all services # docker-compose logs -f redis # View Redis logs # ============================================================================ version: '3.8' services: # -------------------------------------------------------------------------- # Redis - Cache & Queue # Required for: URL caching, rate limiting, BullMQ job queues # -------------------------------------------------------------------------- redis: image: redis:7-alpine container_name: agentverf-redis ports: - "6379:6379" volumes: # Persist data between restarts - redis_data:/data command: redis-server --appendonly yes healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 10s timeout: 5s retries: 5 restart: unless-stopped # -------------------------------------------------------------------------- # Redis Commander - Redis GUI (optional, for debugging) # Access at: http://localhost:8081 # -------------------------------------------------------------------------- redis-commander: image: rediscommander/redis-commander:latest container_name: agentverf-redis-ui environment: - REDIS_HOSTS=local:redis:6379 ports: - "8081:8081" depends_on: - redis profiles: - debug # Only starts with: docker-compose --profile debug up # ============================================================================ # Volumes # ============================================================================ volumes: redis_data: name: agentverf-redis-data