# PR-Agent as a GitHub App, for the exe.dev PR-Agent recipe: # https://exe.dev/deploy/pr-agent # Save as ~/pr-agent/compose.yaml. services: pr-agent: image: pragent/pr-agent:0.50.0-github_app restart: unless-stopped environment: # Models come from exe.dev's LLM integration; the key is a placeholder. OPENAI__API_BASE: https://llm.int.exe.xyz/v1 OPENAI__KEY: exe-gateway CONFIG__MODEL: openai/gpt-5.5 CONFIG__FALLBACK_MODELS: '[]' CONFIG__CUSTOM_MODEL_MAX_TOKENS: "200000" GUNICORN_WORKERS: "2" volumes: - ./.secrets.toml:/app/pr_agent/settings_prod/.secrets.toml:ro ports: # Health checks from the VM only; GitHub comes in through webhook-gate. - "127.0.0.1:3000:3000" # The only thing on the public port: GitHub's webhook path, POST only. webhook-gate: image: nginx:stable-alpine restart: unless-stopped depends_on: [pr-agent] volumes: - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro ports: - "8000:80"