2022-03-26 00:39:38 +00:00
|
|
|
# ********** INDEX **********
|
|
|
|
#
|
|
|
|
# - LICENSE
|
|
|
|
# - DATABASE
|
|
|
|
# - SHARED
|
|
|
|
# - NEXTAUTH
|
|
|
|
# - E-MAIL SETTINGS
|
|
|
|
|
|
|
|
# - LICENSE *************************************************************************************************
|
2022-12-09 11:05:42 +00:00
|
|
|
# https://github.com/calendso/calendso/blob/main/LICENSE
|
2022-03-26 00:39:38 +00:00
|
|
|
#
|
|
|
|
# Summary of terms:
|
|
|
|
# - The codebase has to stay open source, whether it was modified or not
|
|
|
|
# - You can not repackage or sell the codebase
|
|
|
|
# - Acquire a commercial license to remove these terms by visiting: cal.com/sales
|
2022-12-09 11:05:42 +00:00
|
|
|
#
|
2022-06-02 17:53:02 +00:00
|
|
|
# To enable enterprise-only features, fill your license key in here.
|
|
|
|
# @see https://console.cal.com
|
2022-05-26 17:07:14 +00:00
|
|
|
CALCOM_LICENSE_KEY=
|
2022-03-26 00:39:38 +00:00
|
|
|
# ***********************************************************************************************************
|
|
|
|
|
|
|
|
# - DATABASE ************************************************************************************************
|
2022-08-12 01:52:27 +00:00
|
|
|
DATABASE_URL="postgresql://postgres:@localhost:5450/calendso"
|
2022-03-26 00:39:38 +00:00
|
|
|
# ***********************************************************************************************************
|
|
|
|
|
|
|
|
# - SHARED **************************************************************************************************
|
|
|
|
NEXT_PUBLIC_WEBAPP_URL='http://localhost:3000'
|
|
|
|
# Change to 'http://localhost:3001' if running the website simultaneously
|
|
|
|
NEXT_PUBLIC_WEBSITE_URL='http://localhost:3000'
|
2022-05-26 17:07:14 +00:00
|
|
|
NEXT_PUBLIC_CONSOLE_URL='http://localhost:3004'
|
2022-05-06 15:56:26 +00:00
|
|
|
NEXT_PUBLIC_EMBED_LIB_URL='http://localhost:3000/embed/embed.js'
|
2022-03-26 00:39:38 +00:00
|
|
|
|
|
|
|
# To enable SAML login, set both these variables
|
|
|
|
# @see https://github.com/calcom/cal.com/tree/main/packages/ee#setting-up-saml-login
|
|
|
|
# SAML_DATABASE_URL="postgresql://postgres:@localhost:5450/cal-saml"
|
|
|
|
SAML_DATABASE_URL=
|
|
|
|
# SAML_ADMINS='pro@example.com'
|
|
|
|
SAML_ADMINS=
|
|
|
|
# If you use Heroku to deploy Postgres (or use self-signed certs for Postgres) then uncomment the follow line.
|
|
|
|
# @see https://devcenter.heroku.com/articles/connecting-heroku-postgres#connecting-in-node-js
|
|
|
|
# PGSSLMODE='no-verify'
|
|
|
|
PGSSLMODE=
|
|
|
|
|
|
|
|
# - NEXTAUTH
|
|
|
|
# @see: https://github.com/calendso/calendso/issues/263
|
2022-04-21 20:32:25 +00:00
|
|
|
# @see: https://next-auth.js.org/configuration/options#nextauth_url
|
|
|
|
# Required for Vercel hosting - set NEXTAUTH_URL to equal your NEXT_PUBLIC_WEBAPP_URL
|
2022-08-30 18:44:21 +00:00
|
|
|
NEXTAUTH_URL='http://localhost:3000'
|
2022-04-21 20:32:25 +00:00
|
|
|
# @see: https://next-auth.js.org/configuration/options#nextauth_secret
|
|
|
|
# You can use: `openssl rand -base64 32` to generate one
|
|
|
|
NEXTAUTH_SECRET=
|
2022-03-26 00:39:38 +00:00
|
|
|
# Used for cross-domain cookie authentication
|
2022-08-18 17:53:29 +00:00
|
|
|
NEXTAUTH_COOKIE_DOMAIN=
|
2022-03-26 00:39:38 +00:00
|
|
|
|
2022-06-02 20:06:13 +00:00
|
|
|
# Set this to '1' if you don't want Cal to collect anonymous usage
|
|
|
|
CALCOM_TELEMETRY_DISABLED=
|
2022-03-26 00:39:38 +00:00
|
|
|
|
|
|
|
# ApiKey for cronjobs
|
|
|
|
CRON_API_KEY='0cc0e6c35519bba620c9360cfe3e68d0'
|
|
|
|
|
|
|
|
# Application Key for symmetric encryption and decryption
|
|
|
|
# must be 32 bytes for AES256 encryption algorithm
|
|
|
|
# You can use: `openssl rand -base64 24` to generate one
|
|
|
|
CALENDSO_ENCRYPTION_KEY=
|
|
|
|
|
|
|
|
# Intercom Config
|
|
|
|
NEXT_PUBLIC_INTERCOM_APP_ID=
|
|
|
|
|
|
|
|
# Zendesk Config
|
|
|
|
NEXT_PUBLIC_ZENDESK_KEY=
|
|
|
|
|
|
|
|
# Help Scout Config
|
|
|
|
NEXT_PUBLIC_HELPSCOUT_KEY=
|
|
|
|
|
2022-05-24 13:29:39 +00:00
|
|
|
# Inbox to send user feedback
|
|
|
|
SEND_FEEDBACK_EMAIL=
|
|
|
|
|
2022-07-14 00:10:45 +00:00
|
|
|
# Sengrid
|
2022-11-17 21:38:34 +00:00
|
|
|
# Used for email reminders in workflows and internal sync services
|
2022-07-14 00:10:45 +00:00
|
|
|
SENDGRID_API_KEY=
|
|
|
|
SENDGRID_EMAIL=
|
|
|
|
|
|
|
|
# Twilio
|
|
|
|
# Used to send SMS reminders in workflows
|
|
|
|
TWILIO_SID=
|
|
|
|
TWILIO_TOKEN=
|
|
|
|
TWILIO_MESSAGING_SID=
|
|
|
|
|
2022-03-26 00:39:38 +00:00
|
|
|
# This is used so we can bypass emails in auth flows for E2E testing
|
|
|
|
# Set it to "1" if you need to run E2E tests locally
|
|
|
|
NEXT_PUBLIC_IS_E2E=
|
|
|
|
|
|
|
|
# Used for internal billing system
|
|
|
|
NEXT_PUBLIC_STRIPE_PRO_PLAN_PRICE=
|
|
|
|
NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE=
|
2022-09-08 00:38:37 +00:00
|
|
|
NEXT_PUBLIC_IS_PREMIUM_NEW_PLAN=0
|
|
|
|
NEXT_PUBLIC_STRIPE_PREMIUM_NEW_PLAN_PRICE=
|
2022-11-10 20:23:56 +00:00
|
|
|
STRIPE_TEAM_MONTHLY_PRICE_ID=
|
2022-06-13 19:41:57 +00:00
|
|
|
STRIPE_WEBHOOK_SECRET=
|
2022-11-10 20:23:56 +00:00
|
|
|
STRIPE_PRIVATE_KEY=
|
|
|
|
STRIPE_CLIENT_ID=
|
2022-04-16 02:58:34 +00:00
|
|
|
|
|
|
|
# Use for internal Public API Keys and optional
|
|
|
|
API_KEY_PREFIX=cal_
|
2022-03-26 00:39:38 +00:00
|
|
|
# ***********************************************************************************************************
|
|
|
|
|
|
|
|
# - E-MAIL SETTINGS *****************************************************************************************
|
|
|
|
# Cal uses nodemailer (@see https://nodemailer.com/about/) to provide email sending. As such we are trying to
|
|
|
|
# allow access to the nodemailer transports from the .env file. E-mail templates are accessible within lib/emails/
|
|
|
|
# Configures the global From: header whilst sending emails.
|
|
|
|
EMAIL_FROM='notifications@yourselfhostedcal.com'
|
|
|
|
|
|
|
|
# Configure SMTP settings (@see https://nodemailer.com/smtp/).
|
|
|
|
# Note: The below configuration for Office 365 has been verified to work.
|
|
|
|
EMAIL_SERVER_HOST='smtp.office365.com'
|
|
|
|
EMAIL_SERVER_PORT=587
|
|
|
|
EMAIL_SERVER_USER='<office365_emailAddress>'
|
|
|
|
# Keep in mind that if you have 2FA enabled, you will need to provision an App Password.
|
|
|
|
EMAIL_SERVER_PASSWORD='<office365_password>'
|
|
|
|
|
|
|
|
# The following configuration for Gmail has been verified to work.
|
|
|
|
# EMAIL_SERVER_HOST='smtp.gmail.com'
|
|
|
|
# EMAIL_SERVER_PORT=465
|
|
|
|
# EMAIL_SERVER_USER='<gmail_emailAddress>'
|
|
|
|
## You will need to provision an App Password.
|
|
|
|
## @see https://support.google.com/accounts/answer/185833
|
|
|
|
# EMAIL_SERVER_PASSWORD='<gmail_app_password>'
|
|
|
|
# **********************************************************************************************************
|
2022-07-21 17:02:20 +00:00
|
|
|
|
|
|
|
# Set the following value to true if you wish to enable Team Impersonation
|
|
|
|
NEXT_PUBLIC_TEAM_IMPERSONATION=false
|
2022-08-26 21:10:12 +00:00
|
|
|
|
|
|
|
# Close.com internal CRM
|
|
|
|
CLOSECOM_API_KEY=
|
|
|
|
|
2022-11-17 21:38:34 +00:00
|
|
|
# Sendgrid internal sync service
|
|
|
|
SENDGRID_SYNC_API_KEY=
|
2022-11-11 09:47:11 +00:00
|
|
|
|
|
|
|
# Sentry
|
|
|
|
NEXT_PUBLIC_SENTRY_DSN=
|
|
|
|
SENTRY_IGNORE_API_RESOLUTION_ERROR=
|
2022-11-30 21:52:56 +00:00
|
|
|
|
|
|
|
# Change your Brand
|
|
|
|
NEXT_PUBLIC_APP_NAME="Cal.com"
|
|
|
|
NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS="help@cal.com"
|
|
|
|
NEXT_PUBLIC_COMPANY_NAME="Cal.com, Inc."
|