mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-27 00:40:29 -06:00
191 lines
5.4 KiB
Plaintext
191 lines
5.4 KiB
Plaintext
########################################################################
|
|
# ------------ MANDATORY (CHANGE ACCORDING TO YOUR SETUP) ------------ #
|
|
########################################################################
|
|
|
|
############
|
|
# BASICS #
|
|
############
|
|
|
|
WEBAPP_URL=http://localhost:3000
|
|
|
|
# Required for next-auth. Should be the same as WEBAPP_URL
|
|
NEXTAUTH_URL=http://localhost:3000
|
|
|
|
# Encryption keys
|
|
# Please set both for now, we will change this in the future
|
|
|
|
# You can use: `openssl rand -hex 32` to generate one
|
|
ENCRYPTION_KEY=
|
|
|
|
# @see: https://next-auth.js.org/configuration/options#nextauth_secret
|
|
# You can use: `openssl rand -hex 32` to generate a secure one
|
|
NEXTAUTH_SECRET=
|
|
|
|
# API Secret for running cron jobs. (mandatory)
|
|
# You can use: `openssl rand -hex 32` to generate a secure one
|
|
CRON_SECRET=
|
|
|
|
##############
|
|
# DATABASE #
|
|
##############
|
|
|
|
DATABASE_URL='postgresql://postgres:postgres@localhost:5432/formbricks?schema=public'
|
|
|
|
################
|
|
# MAIL SETUP #
|
|
################
|
|
|
|
# Necessary if email verification and password reset are enabled.
|
|
# See optional configurations below if you want to disable these features.
|
|
|
|
MAIL_FROM=noreply@example.com
|
|
SMTP_HOST=localhost
|
|
SMTP_PORT=1025
|
|
# Enable SMTP_SECURE_ENABLED for TLS (port 465)
|
|
SMTP_SECURE_ENABLED=0
|
|
SMTP_USER=smtpUser
|
|
SMTP_PASSWORD=smtpPassword
|
|
|
|
# If set to 0, the server will accept connections without requiring authorization from the list of supplied CAs (default is 1).
|
|
# SMTP_REJECT_UNAUTHORIZED_TLS=0
|
|
|
|
########################################################################
|
|
# ------------------------------ OPTIONAL -----------------------------#
|
|
########################################################################
|
|
|
|
# Uncomment the variables you would like to use and customize the values.
|
|
|
|
# Custom local storage path for file uploads
|
|
#UPLOADS_DIR=
|
|
|
|
##############
|
|
# S3 STORAGE #
|
|
##############
|
|
|
|
# S3 Storage is required for the file upload in serverless environments like Vercel
|
|
S3_ACCESS_KEY=
|
|
S3_SECRET_KEY=
|
|
S3_REGION=
|
|
S3_BUCKET_NAME=
|
|
# Configure a third party S3 compatible storage service endpoint like StorJ leave empty if you use Amazon S3
|
|
# e.g., https://gateway.storjshare.io
|
|
S3_ENDPOINT_URL=
|
|
# Force path style for S3 compatible storage (0 for disabled, 1 for enabled)
|
|
S3_FORCE_PATH_STYLE=0
|
|
|
|
#####################
|
|
# Disable Features #
|
|
#####################
|
|
|
|
# Email Verification. If you enable Email Verification you have to setup SMTP-Settings, too.
|
|
EMAIL_VERIFICATION_DISABLED=1
|
|
|
|
# Password Reset. If you enable Password Reset functionality you have to setup SMTP-Settings, too.
|
|
PASSWORD_RESET_DISABLED=1
|
|
|
|
# Signup. Disable the ability for new users to create an account.
|
|
# Note: This variable is only available to the SaaS setup of Formbricks Cloud. Signup is disable by default for self-hosting.
|
|
# SIGNUP_DISABLED=1
|
|
|
|
# Email login. Disable the ability for users to login with email.
|
|
# EMAIL_AUTH_DISABLED=1
|
|
|
|
# Organization Invite. Disable the ability for invited users to create an account.
|
|
# INVITE_DISABLED=1
|
|
|
|
##########
|
|
# Other #
|
|
##########
|
|
|
|
# Display privacy policy, imprint and terms of service links in the footer of signup & public pages.
|
|
PRIVACY_URL=
|
|
TERMS_URL=
|
|
IMPRINT_URL=
|
|
|
|
# Configure Github Login
|
|
GITHUB_ID=
|
|
GITHUB_SECRET=
|
|
|
|
# Configure Google Login
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
|
|
# Configure Azure Active Directory Login
|
|
AZUREAD_CLIENT_ID=
|
|
AZUREAD_CLIENT_SECRET=
|
|
AZUREAD_TENANT_ID=
|
|
|
|
# OpenID Connect (OIDC) configuration
|
|
# OIDC_CLIENT_ID=
|
|
# OIDC_CLIENT_SECRET=
|
|
# OIDC_ISSUER=
|
|
# OIDC_DISPLAY_NAME=
|
|
# OIDC_SIGNING_ALGORITHM=
|
|
|
|
# Configure this when you want to ship JS & CSS files from a complete URL instead of the current domain
|
|
# ASSET_PREFIX_URL=
|
|
|
|
# Oauth credentials for Notion Integration
|
|
NOTION_OAUTH_CLIENT_ID=
|
|
NOTION_OAUTH_CLIENT_SECRET=
|
|
|
|
# Stripe Billing Variables
|
|
STRIPE_SECRET_KEY=
|
|
STRIPE_WEBHOOK_SECRET=
|
|
|
|
# Configure Formbricks usage within Formbricks
|
|
NEXT_PUBLIC_FORMBRICKS_API_HOST=
|
|
NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID=
|
|
NEXT_PUBLIC_FORMBRICKS_ONBOARDING_SURVEY_ID=
|
|
|
|
# Oauth credentials for Google sheet integration
|
|
GOOGLE_SHEETS_CLIENT_ID=
|
|
GOOGLE_SHEETS_CLIENT_SECRET=
|
|
GOOGLE_SHEETS_REDIRECT_URL=
|
|
|
|
# Oauth credentials for Airtable integration
|
|
AIRTABLE_CLIENT_ID=
|
|
|
|
# Oauth credentials for Slack integration
|
|
SLACK_CLIENT_ID=
|
|
SLACK_CLIENT_SECRET=
|
|
|
|
# Enterprise License Key
|
|
ENTERPRISE_LICENSE_KEY=
|
|
|
|
# Automatically assign new users to a specific organization and role within that organization
|
|
# Insert an existing organization id or generate a valid CUID for a new one at https://www.getuniqueid.com/cuid (e.g. cjld2cjxh0000qzrmn831i7rn)
|
|
# (Role Management is an Enterprise feature)
|
|
# DEFAULT_ORGANIZATION_ID=
|
|
# DEFAULT_ORGANIZATION_ROLE=owner
|
|
|
|
# Send new users to customer.io
|
|
# CUSTOMER_IO_API_KEY=
|
|
# CUSTOMER_IO_SITE_ID=
|
|
|
|
# Ignore Rate Limiting across the Formbricks app
|
|
# RATE_LIMITING_DISABLED=1
|
|
|
|
# OpenTelemetry URL for tracing
|
|
# OPENTELEMETRY_LISTENER_URL=http://localhost:4318/v1/traces
|
|
|
|
# Unsplash API Key
|
|
UNSPLASH_ACCESS_KEY=
|
|
|
|
# The below is used for Next Caching (uses In-Memory from Next Cache if not provided)
|
|
# REDIS_URL=redis://localhost:6379
|
|
|
|
# The below is used for Rate Limiting (uses In-Memory LRU Cache if not provided) (You can use a service like Webdis for this)
|
|
# REDIS_HTTP_URL:
|
|
|
|
# Disable custom cache handler if necessary (e.g. if deployed on Vercel)
|
|
# CUSTOM_CACHE_DISABLED=1
|
|
|
|
# Azure AI settings
|
|
# AI_AZURE_RESSOURCE_NAME=
|
|
# AI_AZURE_API_KEY=
|
|
# AI_AZURE_EMBEDDINGS_DEPLOYMENT_ID=
|
|
# AI_AZURE_LLM_DEPLOYMENT_ID=
|
|
|
|
# NEXT_PUBLIC_INTERCOM_APP_ID=
|
|
# INTERCOM_SECRET_KEY= |