Intial commit for deployment script p2

This commit is contained in:
2026-05-04 23:23:02 +05:00
parent 724e6a8ecd
commit 40fe69ed65
20 changed files with 2008 additions and 2 deletions
+38
View File
@@ -0,0 +1,38 @@
# 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; 630 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