diff --git a/blueprints/calcom/docker-compose.yml b/blueprints/calcom/docker-compose.yml index a309a1da4..c988ec024 100644 --- a/blueprints/calcom/docker-compose.yml +++ b/blueprints/calcom/docker-compose.yml @@ -1,3 +1,8 @@ +# If you are on a machine with ARM architecture, please add a "-arm" suffix to the calcom image on line 19. +# For example, `calcom/cal.com:v6.2.0` will become `calcom/cal.com:v6.2.0-arm` + +# If serving the instance on https, change `NEXT_PUBLIC_WEBAPP_URL` (Line 28) and `NEXTAUTH_URL` (Line 30) to https + services: postgres: image: postgres:16-alpine @@ -11,15 +16,25 @@ services: - DATABASE_URL=postgres://postgres:password@postgres:5432/db calcom: - image: calcom/cal.com:v2.7.6 + image: calcom/cal.com:v6.2.0 depends_on: - postgres environment: - NEXTAUTH_SECRET=${NEXTAUTH_SECRET} - CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} - DATABASE_URL=postgres://postgres:password@postgres:5432/db + - DATABASE_DIRECT_URL=postgres://postgres:password@postgres:5432/db + - DATABASE_HOST=postgres:5432 - NEXT_PUBLIC_WEBAPP_URL=http://${CALCOM_HOST} + - ALLOWED_HOSTNAMES="${CALCOM_HOST}" - NEXTAUTH_URL=http://${CALCOM_HOST}/api/auth + - NEXT_PUBLIC_DISABLE_SIGNUP=${DISABLE_SIGNUP} + - EMAIL_SERVER_HOST=${SMTP_SERVER} + - EMAIL_SERVER_PORT=${SMTP_PORT} + - EMAIL_SERVER_USER=${EMAIL_SERVER_USER} + - EMAIL_SERVER_PASSWORD=${SMTP_PASSWORD} + - EMAIL_FROM=${EMAIL_FROM} + volumes: calcom-data: diff --git a/blueprints/calcom/meta.json b/blueprints/calcom/meta.json index b4c1f88c5..497e416bf 100644 --- a/blueprints/calcom/meta.json +++ b/blueprints/calcom/meta.json @@ -1,7 +1,7 @@ { "id": "calcom", "name": "Calcom", - "version": "v2.7.6", + "version": "v6.2.0", "description": "Calcom is a open source alternative to Calendly that allows to create scheduling and booking services.", "links": { "github": "https://github.com/calcom/cal.com", diff --git a/blueprints/calcom/template.toml b/blueprints/calcom/template.toml index a6303ad12..365daf47c 100644 --- a/blueprints/calcom/template.toml +++ b/blueprints/calcom/template.toml @@ -8,6 +8,12 @@ env = [ "CALCOM_HOST=${main_domain}", "NEXTAUTH_SECRET=${nextauth_secret}", "CALENDSO_ENCRYPTION_KEY=${calcom_encryption_key}", + "DISABLE_SIGNUP=true", + "SMTP_SERVER=", + "SMTP_PORT=", + "SMTP_PASSWORD=", + "EMAIL_SERVER_USER=", + "EMAIL_FROM=", ] mounts = []