# PromptLooper — Environment Configuration # Copy to .env and fill in required values # ── Database ────────────────────────────────────────────── POSTGRES_USER=promptlooper POSTGRES_PASSWORD= # REQUIRED: set a strong password POSTGRES_DB=promptlooper # ── Auth ────────────────────────────────────────────────── JWT_SECRET= # REQUIRED: generate with `openssl rand -hex 32` # ── Default LLM Endpoint (optional) ────────────────────── # Pre-configure an LLM endpoint so users don't have to add one manually DEFAULT_ENDPOINT_URL= # e.g. http://chat.forgetyour.name/api/v1 DEFAULT_ENDPOINT_KEY= # API key for the default endpoint # ── Limits ──────────────────────────────────────────────── MAX_CONCURRENT_RUNS=4 # Parallel run limit per sweep MAX_TOKENS_PER_SWEEP=0 # 0 = unlimited; set a number to cap token spend # ── MCP Server ──────────────────────────────────────────── MCP_ENABLED=true # Enable/disable MCP server for agent access # MCP_PORT=8401 # MCP server port (set in docker-compose)