| 1 | # ── LLM (one of these two) ───────────────────────────────────────────────── |
| 2 | ANTHROPIC_API_KEY= |
| 3 | LITELLM_URL=http://localhost:4000 |
| 4 | LITELLM_MASTER_KEY= |
| 5 | |
| 6 | # ── Server ────────────────────────────────────────────────────────────────── |
| 7 | PORT=3300 |
| 8 | CLONAGENT_MODEL=claude-opus-4-7 |
| 9 | PUBLIC_URL=https://clonagent.example.com |
| 10 | |
| 11 | # ── Agent relay (host-relay from agent-manager) ───────────────────────────── |
| 12 | AGENT_RELAY_URL=http://localhost:3201 |
| 13 | |
| 14 | # ── Auth ──────────────────────────────────────────────────────────────────── |
| 15 | # AUTH_MODE=basic # none | basic | oidc (default: basic) |
| 16 | # ALLOW_REGISTRATION=0 # set to 0 to disable open registration |
| 17 | |
| 18 | # ── Stripe billing ────────────────────────────────────────────────────────── |
| 19 | STRIPE_SECRET_KEY= |
| 20 | STRIPE_PUBLISHABLE_KEY= |
| 21 | STRIPE_WEBHOOK_SECRET= |
| 22 | STRIPE_PRICE_STARTER= # Price ID for $29/month plan |
| 23 | STRIPE_PRICE_PRO= # Price ID for $99/month plan |
| 24 | |
| 25 | # ── Email (transactional) ─────────────────────────────────────────────────── |
| 26 | SMTP_HOST= |
| 27 | SMTP_PORT=587 |
| 28 | SMTP_SECURE=0 |
| 29 | SMTP_USER= |
| 30 | SMTP_PASS= |
| 31 | SMTP_FROM_ADDRESS=noreply@example.com |
| 32 | SMTP_FROM_NAME=ClonAgent |
| 33 | # Alternative: SENDGRID_API_KEY= |
| 34 | |
| 35 | # ── Gitea integration (optional) ──────────────────────────────────────────── |
| 36 | GITEA_URL_INTERNAL=http://localhost:3200 |
| 37 | GITEA_TOKEN= |
| 38 | GITEA_ADMIN_USER= |