GitDeployHub

calcom/cal.diy

github.com/calcom/cal.diy ↗
Docker
20 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)

  • DATABASE_URL secret
  • DATABASE_DIRECT_URL Needed to run migrations while using a connection pooler like PgBouncer Use the same one as DATABASE_URL if you're not using a connection…
  • INSIGHTS_DATABASE_URL secret
  • NEXT_PUBLIC_WEBAPP_URL SHARED Set this to http://app.cal.local:3000 if you want to enable organizations, and check variable ORGANIZATIONS_ENABLED at the bottom of…
  • NEXT_PUBLIC_WEBSITE_URL Change to 'http://localhost:3001' if running the website simultaneously
  • NEXT_PUBLIC_EMBED_LIB_URL
  • SAML_DATABASE_URL secret To enable SAML login, set both these variables @see https://github.com/calcom/cal.diy/tree/main/packages/features/ee#setting-up-saml-login…
  • SAML_ADMINS
  • NEXT_PUBLIC_HOSTED_CAL_FEATURES
  • PGSSLMODE If you use Heroku to deploy Postgres (or use self-signed certs for Postgres) then uncomment the follow line. @see…
  • ALLOWED_HOSTNAMES Define which hostnames are expected for the app to work on
  • RESERVED_SUBDOMAINS Reserved orgs subdomains for our own usage
  • NEXTAUTH_URL NEXTAUTH @see: https://github.com/calendso/calendso/issues/263 @see: https://next-auth.js.org/configuration/options#nextauth_url Required…
  • NEXTAUTH_SECRET secret @see: https://next-auth.js.org/configuration/options#nextauth_secret You can use: `openssl rand -base64 32` to generate one
  • NEXTAUTH_COOKIE_DOMAIN Used for cross-domain cookie authentication
  • CALCOM_TELEMETRY_DISABLED Set this to '1' if you don't want Cal to collect anonymous usage
  • CRON_API_KEY secret ApiKey for cronjobs
  • CRON_ENABLE_APP_SYNC Whether to automatically keep app metadata in the database in sync with the metadata/config files. When disabled, the sync runs in a…
  • CALENDSO_ENCRYPTION_KEY secret Application Key for symmetric encryption and decryption must be 32 bytes for AES256 encryption algorithm You can use: `openssl rand -base64…
  • NEXT_PUBLIC_INTERCOM_APP_ID Intercom Config
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/calcom/cal.diy
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/calcom/cal.diy
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/calcom/cal.diy
Or deploy to a different host
← Try another repo