204 lines
9.5 KiB
Plaintext
204 lines
9.5 KiB
Plaintext
# -----------------------------------------------------------------------------
|
|
# Application BASE URL
|
|
# https://mksaas.com/docs/env#core-configuration
|
|
# For production, set to your domain, e.g. https://mksaas.com
|
|
# For development, set to http://localhost:3000 or any other port
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_BASE_URL="https://image.prmbr.com"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Database
|
|
# https://mksaas.com/docs/database
|
|
# -----------------------------------------------------------------------------
|
|
DATABASE_URL="postgresql://neondb_owner:npg_mfEJ5NRrZbd2@ep-long-feather-a1ydksyq-pooler.ap-southeast-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Better Auth
|
|
# https://mksaas.com/docs/auth
|
|
# Generate a random string for the secret key using `openssl rand -base64 32`
|
|
# -----------------------------------------------------------------------------
|
|
BETTER_AUTH_SECRET="Vi7Tugxf/Mh20VGtsLeZsf6dUULVGCiL7MKloRvLT+c="
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Github OAuth
|
|
# https://mksaas.com/docs/auth#2-configure-github-oauth
|
|
# https://www.better-auth.com/docs/authentication/github
|
|
# Get Client information from https://github.com/settings/developers
|
|
# -----------------------------------------------------------------------------
|
|
GITHUB_CLIENT_ID=""
|
|
GITHUB_CLIENT_SECRET=""
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Google OAuth
|
|
# https://mksaas.com/docs/auth#3-configure-google-oauth
|
|
# https://www.better-auth.com/docs/authentication/google
|
|
# Get Client information from https://console.cloud.google.com/apis/credentials
|
|
# -----------------------------------------------------------------------------
|
|
GOOGLE_CLIENT_ID="1011279317992-1irl2k5mqdso0t12sls0svd0vuuvleto.apps.googleusercontent.com"
|
|
GOOGLE_CLIENT_SECRET="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"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Email / Newsletter (Resend)
|
|
# https://mksaas.com/docs/email
|
|
# https://mksaas.com/docs/newsletter
|
|
# Get API key and audience id from https://resend.com
|
|
# -----------------------------------------------------------------------------
|
|
RESEND_API_KEY="re_YGb7jyZk_CxpAWPDPSF53tooCAzoWK6u6"
|
|
RESEND_AUDIENCE_ID="c5a0dd69-3a22-4866-b9e6-e4047e83e0d0"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Storage (Cloudflare R2 or S3-compatible service of your choice)
|
|
# https://mksaas.com/docs/storage
|
|
# Cloudflare R2: https://www.cloudflare.com/developer-platform/products/r2
|
|
# -----------------------------------------------------------------------------
|
|
STORAGE_REGION="auto"
|
|
STORAGE_BUCKET_NAME="prmbr-image"
|
|
STORAGE_ACCESS_KEY_ID="8da3b416c62642ef69cbb485d5673d58"
|
|
STORAGE_SECRET_ACCESS_KEY="d94f673573a595afb11e09d7963484b5f13914bbd01a598debaa1bf2314e1df1"
|
|
STORAGE_ENDPOINT="https://209b775a76842f6f305193e41de86be1.r2.cloudflarestorage.com"
|
|
STORAGE_PUBLIC_URL="https://image-cdn.prmbr.com"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Payment (Stripe)
|
|
# https://mksaas.com/docs/payment
|
|
# Get Stripe key and secret from https://dashboard.stripe.com
|
|
# -----------------------------------------------------------------------------
|
|
STRIPE_SECRET_KEY=""
|
|
STRIPE_WEBHOOK_SECRET=""
|
|
# Pro plan - monthly subscription
|
|
NEXT_PUBLIC_STRIPE_PRICE_PRO_MONTHLY=""
|
|
# Pro plan - yearly subscription
|
|
NEXT_PUBLIC_STRIPE_PRICE_PRO_YEARLY=""
|
|
# Lifetime plan - one-time payment
|
|
NEXT_PUBLIC_STRIPE_PRICE_LIFETIME=""
|
|
# Credit package - basic
|
|
NEXT_PUBLIC_STRIPE_PRICE_CREDITS_BASIC=""
|
|
# Credit package - standard
|
|
NEXT_PUBLIC_STRIPE_PRICE_CREDITS_STANDARD=""
|
|
# Credit package - premium
|
|
NEXT_PUBLIC_STRIPE_PRICE_CREDITS_PREMIUM=""
|
|
# Credit package - enterprise
|
|
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
|
|
# -----------------------------------------------------------------------------
|
|
# Google Analytics (https://analytics.google.com)
|
|
# https://mksaas.com/docs/analytics#google
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID="G-06MQ7YHDTT"
|
|
# -----------------------------------------------------------------------------
|
|
# Umami Analytics (https://umami.is)
|
|
# https://mksaas.com/docs/analytics#umami
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_UMAMI_WEBSITE_ID="ab7e1694-572d-48c9-a76b-8419e8c18111"
|
|
NEXT_PUBLIC_UMAMI_SCRIPT="https://umami.frytea.com/script.js"
|
|
# -----------------------------------------------------------------------------
|
|
# OpenPanel Analytics (https://openpanel.dev)
|
|
# https://mksaas.com/docs/analytics#openpanel
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_OPENPANEL_CLIENT_ID=""
|
|
# -----------------------------------------------------------------------------
|
|
# Plausible Analytics (https://plausible.io)
|
|
# https://mksaas.com/docs/analytics#plausible
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_PLAUSIBLE_DOMAIN=""
|
|
NEXT_PUBLIC_PLAUSIBLE_SCRIPT="https://plausible.io/js/script.js"
|
|
# -----------------------------------------------------------------------------
|
|
# Ahrefs Analytics (https://ahrefs.com)
|
|
# https://mksaas.com/docs/analytics#ahrefs
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_AHREFS_WEBSITE_ID=""
|
|
# -----------------------------------------------------------------------------
|
|
# Seline Analytics
|
|
# https://mksaas.com/docs/analytics#seline
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_SELINE_TOKEN=""
|
|
# -----------------------------------------------------------------------------
|
|
# DataFast Analytics (https://datafa.st)
|
|
# https://mksaas.com/docs/analytics#datafast
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_DATAFAST_WEBSITE_ID=""
|
|
NEXT_PUBLIC_DATAFAST_DOMAIN=""
|
|
# -----------------------------------------------------------------------------
|
|
# PostHog Analytics (https://posthog.com)
|
|
# https://mksaas.com/docs/analytics#posthog
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_POSTHOG_KEY=""
|
|
NEXT_PUBLIC_POSTHOG_HOST=""
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Notification (Discord)
|
|
# -----------------------------------------------------------------------------
|
|
DISCORD_WEBHOOK_URL=""
|
|
# -----------------------------------------------------------------------------
|
|
# Notification (Feishu)
|
|
# -----------------------------------------------------------------------------
|
|
FEISHU_WEBHOOK_URL=""
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Affiliate
|
|
# https://mksaas.com/docs/affiliate
|
|
# -----------------------------------------------------------------------------
|
|
# Affonso
|
|
# https://affonso.com/
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_AFFILIATE_AFFONSO_ID=""
|
|
# -----------------------------------------------------------------------------
|
|
# PromoteKit
|
|
# https://www.promotekit.com/
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_AFFILIATE_PROMOTEKIT_ID=""
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Captcha (Cloudflare Turnstile)
|
|
# https://mksaas.com/docs/captcha
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_TURNSTILE_SITE_KEY=""
|
|
TURNSTILE_SECRET_KEY=""
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Crisp
|
|
# https://mksaas.com/docs/chat
|
|
# -----------------------------------------------------------------------------
|
|
NEXT_PUBLIC_CRISP_WEBSITE_ID=""
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Cron Jobs
|
|
# https://mksaas.com/docs/cronjobs
|
|
# -----------------------------------------------------------------------------
|
|
CRON_JOBS_USERNAME="prmbr-image-crontab"
|
|
CRON_JOBS_PASSWORD="82AwL!Ya^n8ht2u%bE0U*EFI"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# AI
|
|
# https://mksaas.com/docs/ai
|
|
# -----------------------------------------------------------------------------
|
|
AI_GATEWAY_API_KEY=""
|
|
FAL_API_KEY="7eb06562-078d-4a25-a9d8-a97529d8998e:5fc7ddd7ed48b2e669e7a6dee62e7262"
|
|
FIREWORKS_API_KEY=""
|
|
OPENAI_API_KEY=""
|
|
REPLICATE_API_TOKEN=""
|
|
GOOGLE_GENERATIVE_AI_API_KEY=""
|
|
DEEPSEEK_API_KEY=""
|
|
OPENROUTER_API_KEY="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"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Web Content Analyzer (Firecrawl)
|
|
# https://firecrawl.dev/
|
|
# -----------------------------------------------------------------------------
|
|
FIRECRAWL_API_KEY=""
|