Files
semantica/deploy/gcp/README.md
T

17 lines
664 B
Markdown

# GCP Cloud Run
Create the Secret Manager entries, then submit the Cloud Build pipeline:
```bash
gcloud services enable cloudbuild.googleapis.com run.googleapis.com secretmanager.googleapis.com
printf "falkordb-host.example.internal" | gcloud secrets create falkordb-host --data-file=-
printf "6379" | gcloud secrets create falkordb-port --data-file=-
gcloud builds submit --config deploy/gcp/cloudbuild.yaml --substitutions _REGION=us-central1,_SERVICE_NAME=knowledge-explorer
```
For declarative deploys, replace `PROJECT_ID` in `cloudrun-service.yaml`, then run:
```bash
gcloud run services replace deploy/gcp/cloudrun-service.yaml --region us-central1
```