From 7c7812f68c095e58619e5735810cd740c51f0ab2 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Wed, 25 Dec 2024 16:49:20 +0100 Subject: [PATCH] apps/meet/calcom/calcom: overhaul app configuration --- apps/meet/calcom/calcom-keys.yaml | 19 +++++++++++++++++-- apps/meet/calcom/calcom-values-configmap.yaml | 4 +--- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/apps/meet/calcom/calcom-keys.yaml b/apps/meet/calcom/calcom-keys.yaml index 98ff412..3193562 100644 --- a/apps/meet/calcom/calcom-keys.yaml +++ b/apps/meet/calcom/calcom-keys.yaml @@ -4,16 +4,31 @@ metadata: name: stackspin-calcom-keys namespace: stackspout stringData: + # https://github.com/calcom/cal.com/blob/main/.env.example DATABASE_URL: "postgresql://calcom:${postgresql_password}@calcom-postgresql/calcom" - #ALLOWED_HOSTNAMES: '"${calcom_domain}"' NEXT_PUBLIC_WEBAPP_URL: "https://${calcom_domain}" + #ALLOWED_HOSTNAMES: '"${calcom_domain}"' #NEXT_PUBLIC_API_V2_URL: "https://${calcom_domain}/api/v2" + CALCOM_TELEMETRY_DISABLED: 1 + SEND_FEEDBACK_EMAIL: "${admin_email}" + + NEXT_PUBLIC_APP_NAME: "Bookings for ${org_name}" + NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS: "${admin_email}" + NEXT_PUBLIC_COMPANY_NAME: "${org_name}" + # Set this to true in to disable new signups + # NEXT_PUBLIC_DISABLE_SIGNUP=true + NEXTAUTH_SECRET: "${nextauth_secret}" CALENDSO_ENCRYPTION_KEY: "${calendso_key}" + EMAIL_FROM: "${outgoing_mail_from_address}" - #EMAIL_FROM_NAME: "${org_name}" + EMAIL_FROM_NAME: "${org_name}" EMAIL_SERVER_HOST: "${outgoing_mail_smtp_host}" EMAIL_SERVER_PORT: ${quote}${outgoing_mail_smtp_port}${quote} EMAIL_SERVER_USER: "${outgoing_mail_smtp_user}" EMAIL_SERVER_PASSWORD: "${outgoing_mail_smtp_password}" # email_enabled: "${outgoing_mail_enabled}" + + # NEXT_PUBLIC_LOGGER_LEVEL=3 sets to log info, warn, error and fatal logs. + # [0: silly & upwards, 1: trace & upwards, 2: debug & upwards, 3: info & upwards, 4: warn & upwards, 5: error & fatal, 6: fatal] + # NEXT_PUBLIC_LOGGER_LEVEL=2 diff --git a/apps/meet/calcom/calcom-values-configmap.yaml b/apps/meet/calcom/calcom-values-configmap.yaml index 904908d..1713c16 100644 --- a/apps/meet/calcom/calcom-values-configmap.yaml +++ b/apps/meet/calcom/calcom-values-configmap.yaml @@ -27,9 +27,7 @@ data: #image: # tag: v4.5.10 secretRef: "stackspin-calcom-keys" - commonLabels: - stackspin.net/backupSet: "calcom" - podLabels: + labels: stackspin.net/backupSet: "calcom" ingress: enabled: true