version: '3.8'

services:
  scout-bot:
    build: 
      context: .
      dockerfile: apps/scout-bot/Dockerfile
    container_name: agent_bounty_scout_bot
    restart: unless-stopped
    environment:
      - NODE_ENV=production
      # - GITHUB_TOKEN=your_token_here
      - VIBEWORK_API_URL=http://agent_bounty_web:3000/api
      - SCOUT_API_KEY=${SCOUT_API_KEY:-dev_scout_key}
      - SCOUT_AGENT_ID=scout_official_1
      - SCOUT_ENABLED=${SCOUT_ENABLED:-false}
      - SCOUT_PER_PAGE=${SCOUT_PER_PAGE:-80}
      - SCOUT_MAX_ISSUES_PER_SCAN=${SCOUT_MAX_ISSUES_PER_SCAN:-30}
    networks:
      - agent-bounty-network

networks:
  agent-bounty-network:
    external: true
