chatbot-template/.env.example

33 lines
1.2 KiB
Text
Raw Permalink Normal View History

# NextAuth secret — generate with: openssl rand -base64 32
AUTH_SECRET=replace-me
# Postgres connection string (provisioned automatically by app-deploy.sh)
DATABASE_URL=postgres://user:pass@host:5432/db
# EGBE LiteLLM proxy — auto-injected by app-deploy.sh from the deploying instance
EGBE_AI_API_URL=https://litellm.gcp.egbe.dev
EGBE_AI_API_KEY=
# Public origin of this app — auto-injected by app-deploy.sh
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# --- analytics (umami) ---
# Auto-injected by app-deploy.sh after `analytics-site-create.sh <slug> <host> "<Name>"`
NEXT_PUBLIC_UMAMI_SCRIPT_URL=
NEXT_PUBLIC_UMAMI_WEBSITE_ID=
# --- billing (payment gateway) ---
# Auto-injected by app-deploy.sh from the deploying instance
EGBE_PAYMENT_GATEWAY_URL=https://payments.gcp.egbe.dev
EGBE_GATEWAYS_TOKEN=
EGBE_PAYMENT_GATEWAY_WEBHOOK_SECRET=
EGBE_PAYMENT_GATEWAY_WEBHOOK_HEADER=x-egbe-payment-signature
# Stripe price ID for the Pro plan — set per-product after creating the product via
# the payment gateway API. Without it the upgrade button returns 501.
PRO_STRIPE_PRICE_ID=
# App slug used in the webhook URL when creating checkout sessions. Must match the
# slug you passed to app-deploy.sh.
APP_SLUG=chatbot