# Environment variables for Cloud Run deployment # Copy this file to GCR/.env and fill in your values. # GCR/.env is gitignored — never commit real credentials. # # IMPORTANT: Sensitive values (MongoDB connection string, API keys, passwords) # should NOT be stored here. Use Google Cloud Secret Manager instead. # See GCR/README.md for the Secret Manager setup workflow. # ═══════════════════════════════════════════════════════════════════════════ # NON-SENSITIVE CONFIG — safe to commit to version control # ═══════════════════════════════════════════════════════════════════════════ # Your GCP project ID (lowercase letters, digits, hyphens; 6–30 chars) GCP_PROJECT_ID=htmx-demo # Region to deploy the Cloud Run service and Artifact Registry repository # Recommended regions: us-central1, us-east1, europe-west1, asia-east1 GCP_REGION=asia-east1 # Name of the Artifact Registry Docker repository (created by 02-setup-project.sh) GCP_REPOSITORY=htmx-demo # Cloud Run service name SERVICE_NAME=htmx-demo-app # Name of the MongoDB database to use (not sensitive, just a name) MONGODB_DATABASE_NAME=HtmxAppDb # ═══════════════════════════════════════════════════════════════════════════ # SENSITIVE CONFIG — stored in Google Cloud Secret Manager, never here! # ═══════════════════════════════════════════════════════════════════════════ # # MongoDB Connection String # Store in Secret Manager as: mongodb-connection-string # Create with: printf '%s' "mongodb+srv://user:pass@..." | \ # gcloud secrets create mongodb-connection-string --data-file=- # # The deploy script will inject this automatically as ConnectionStrings__DefaultConnection