From a1b54d75183198e32ace16be4d6818eae8995717 Mon Sep 17 00:00:00 2001 From: javayhu Date: Mon, 11 Aug 2025 07:41:29 +0800 Subject: [PATCH] chore: update env example --- env.example | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/env.example b/env.example index 33f05ab..5b78c1a 100644 --- a/env.example +++ b/env.example @@ -8,13 +8,13 @@ NEXT_PUBLIC_BASE_URL="http://localhost:3000" # ----------------------------------------------------------------------------- # Database -# https://mksaas.com/docs/database#setup +# https://mksaas.com/docs/database # ----------------------------------------------------------------------------- DATABASE_URL="" # ----------------------------------------------------------------------------- # Better Auth -# https://mksaas.com/docs/auth#setup +# https://mksaas.com/docs/auth # Generate a random string for the secret key using `openssl rand -base64 32` # ----------------------------------------------------------------------------- BETTER_AUTH_SECRET="" @@ -39,8 +39,8 @@ GOOGLE_CLIENT_SECRET="" # ----------------------------------------------------------------------------- # Email / Newsletter (Resend) -# https://mksaas.com/docs/email#setup -# https://mksaas.com/docs/newsletter#setup +# https://mksaas.com/docs/email +# https://mksaas.com/docs/newsletter # Get API key and audience id from https://resend.com # ----------------------------------------------------------------------------- RESEND_API_KEY="" @@ -48,7 +48,7 @@ RESEND_AUDIENCE_ID="" # ----------------------------------------------------------------------------- # Storage (Cloudflare R2 or S3-compatible service of your choice) -# https://mksaas.com/docs/storage#setup +# https://mksaas.com/docs/storage # Cloudflare R2: https://www.cloudflare.com/developer-platform/products/r2 # ----------------------------------------------------------------------------- STORAGE_REGION="auto" @@ -60,7 +60,7 @@ STORAGE_PUBLIC_URL="" # ----------------------------------------------------------------------------- # Payment (Stripe) -# https://mksaas.com/docs/payment#setup +# https://mksaas.com/docs/payment # Get Stripe key and secret from https://dashboard.stripe.com # ----------------------------------------------------------------------------- STRIPE_SECRET_KEY="" @@ -84,13 +84,16 @@ NEXT_PUBLIC_STRIPE_PRICE_CREDITS_ENTERPRISE="" # Configurations # ----------------------------------------------------------------------------- # Disable image optimization, check out next.config.ts for more details +# ----------------------------------------------------------------------------- DISABLE_IMAGE_OPTIMIZATION=false +# ----------------------------------------------------------------------------- # Run this website as demo website, in most cases, you should set this to false +# ----------------------------------------------------------------------------- NEXT_PUBLIC_DEMO_WEBSITE=false # ----------------------------------------------------------------------------- # Analytics -# https://mksaas.com/docs/analytics#setup +# https://mksaas.com/docs/analytics # ----------------------------------------------------------------------------- # Google Analytics (https://analytics.google.com) # https://mksaas.com/docs/analytics#google @@ -156,19 +159,20 @@ NEXT_PUBLIC_AFFILIATE_PROMOTEKIT_ID="" # ----------------------------------------------------------------------------- # Captcha (Cloudflare Turnstile) -# https://mksaas.com/docs/captcha#setup +# https://mksaas.com/docs/captcha # ----------------------------------------------------------------------------- NEXT_PUBLIC_TURNSTILE_SITE_KEY="" TURNSTILE_SECRET_KEY="" # ----------------------------------------------------------------------------- # Crisp -# https://mksaas.com/docs/chat#setup +# https://mksaas.com/docs/chat # ----------------------------------------------------------------------------- NEXT_PUBLIC_CRISP_WEBSITE_ID="" # ----------------------------------------------------------------------------- # Cron Jobs +# https://mksaas.com/docs/cronjobs # ----------------------------------------------------------------------------- CRON_JOBS_USERNAME="" CRON_JOBS_PASSWORD="" @@ -185,16 +189,8 @@ GOOGLE_GENERATIVE_AI_API_KEY="" DEEPSEEK_API_KEY="" OPENROUTER_API_KEY="" -# ----------------------------------------------------------------------------- -# Basic Authentication -# Used for protecting sensitive API endpoints like distribute-credits -# ----------------------------------------------------------------------------- -BASIC_AUTH_USERNAME="admin" -BASIC_AUTH_PASSWORD="" - # ----------------------------------------------------------------------------- # Web Content Analyzer (Firecrawl) # https://firecrawl.dev/ -# Get API key from https://firecrawl.dev/app # ----------------------------------------------------------------------------- FIRECRAWL_API_KEY=""