Create a .env file in your project root with the following variables (replace the placeholder values with your actual configuration):
PROJECT_ID="your-gcp-project-id"
REGION="your-gcp-region"
BUCKET_NAME="your-gcs-bucket-name"
TOPIC_NAME="your-pubsub-topic-name"
SUBSCRIPTION_NAME="your-pubsub-subscription-name"
STORAGE_CLASS="your-gcs-storage-class"Tip:
- The
.envfile is for local development and should not be committed to version control. - For Cloud Run, set environment variables using the
--set-env-varsflag during deployment.