← ClaudeAtlas

infra-deploylisted

Cal.com self-hosted deployment to GCP Cloud Run with Supabase PostgreSQL. Docker Compose for local dev.
terrylica/cc-skills · ★ 49 · DevOps & Infrastructure · score 79
Install: claude install-skill terrylica/cc-skills
# Infrastructure Deployment Deploy Cal.com self-hosted to GCP Cloud Run with Supabase PostgreSQL, or run locally via Docker Compose. > **Self-Evolving Skill**: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues. ## Mandatory Preflight ### Step 1: Check GCP Project Configuration ```bash echo "CALCOM_GCP_PROJECT: ${CALCOM_GCP_PROJECT:-NOT_SET}" echo "CALCOM_GCP_ACCOUNT: ${CALCOM_GCP_ACCOUNT:-NOT_SET}" echo "CALCOM_GCP_REGION: ${CALCOM_GCP_REGION:-us-central1}" ``` **If NOT_SET**: These must be configured in `.mise.local.toml`. Run the setup command. ### Step 2: Verify GCP Authentication ```bash gcloud auth list --filter="status=ACTIVE" --format="value(account)" 2>/dev/null ``` ### Step 3: Check Supabase Configuration ```bash echo "SUPABASE_PROJECT_REF: ${SUPABASE_PROJECT_REF:-NOT_SET}" echo "SUPABASE_DB_URL_REF: ${SUPABASE_DB_URL_REF:-NOT_SET}" ``` ### Step 4: Verify Cal.com Secrets ```bash echo "CALCOM_NEXTAUTH_SECRET_REF: ${CALCOM_NEXTAUTH_SECRET_REF:-NOT_SET}" echo "CALCOM_ENCRYPTION_KEY_REF: ${CALCOM_ENCRYPTION_KEY_REF:-NOT_SET}" echo "CALCOM_CRON_API_KEY_REF: ${CALCOM_CRON_API_KEY_REF:-NOT_SET}" ``` **All 1Password references must be SET.** Secrets are stored in Claude Automation vault. --- ## Deploy Target: GCP Cloud Run ### Step 1: Verify GCP APIs Enabled ```bash gcloud services list --enabled \ --project="$CALCOM_