Anthony Greco
07/22/2025, 6:07 AM--reset-peers-on-error
fixed, it seems to work. I'm wondering if Computer Engine VM is the proper way to go about this.
gcloud beta run deploy typesense `
--image="typesense/typesense:29.0" `
--region=$env:REGION `
--execution-environment="gen2" `
--cpu="2"
--memory="4Gi"
--port="8108" `
--service-account="$($env:SERVICE_ACCOUNT)@$($env:PROJECT).<http://iam.gserviceaccount.com|iam.gserviceaccount.com>" `
--allow-unauthenticated `
--set-secrets="TYPESENSE_API_KEY=$($env:SECRET):latest" `
--add-volume="name=data,type=cloud-storage,bucket=$($env:BUCKET)" `
--add-volume-mount="volume=data,mount-path=/mnt/data" `
--args="--data-dir=/mnt/data,--enable-cors,--reset-peers-on-error" `
--concurrency="40" `
--max-instances="1" `
Jason Bosco
07/23/2025, 2:00 AM