Skip to content

Commit 0208d01

Browse files
Nathan ParkerNathan Parker
authored andcommitted
cloud run deployment working, cleaning up temp files
1 parent 8a5bf65 commit 0208d01

18 files changed

+8
-8521
lines changed

README_TESTING.md

Lines changed: 0 additions & 82 deletions
This file was deleted.

check_cloud_logs.sh

Lines changed: 0 additions & 45 deletions
This file was deleted.

docs/development/container-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ docker-compose -f docker-compose.prod.yml up -d
219219
--region us-central1 \
220220
--allow-unauthenticated \
221221
--port 8001 \
222-
--memory 2Gi \
222+
--memory 4Gi \
223223
--cpu 2 \
224224
--max-instances 10 \
225225
--set-env-vars="API_KEYS=your-api-key,STORAGE_PROVIDER=gcp_storage"

docs/development/gcp-cloud-run-setup.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,9 @@ gcloud run deploy supply-graph-ai \
694694
--image ${IMAGE_TAG} \
695695
--service-account ${SA_EMAIL} \
696696
--region ${REGION} \
697+
--memory 4Gi \
698+
--cpu 2 \
699+
--timeout 300 \
697700
--set-env-vars="STORAGE_PROVIDER=gcs,GCP_STORAGE_BUCKET=${BUCKET_NAME},GCP_PROJECT_ID=${PROJECT_ID},USE_SECRETS_MANAGER=true,SECRETS_PROVIDER=gcp" \
698701
--allow-unauthenticated # or use --no-allow-unauthenticated for authenticated access
699702

@@ -702,6 +705,9 @@ gcloud run deploy supply-graph-ai \
702705
--source . \
703706
--service-account ${SA_EMAIL} \
704707
--region ${REGION} \
708+
--memory 4Gi \
709+
--cpu 2 \
710+
--timeout 300 \
705711
--set-env-vars="STORAGE_PROVIDER=gcs,GCP_STORAGE_BUCKET=${BUCKET_NAME},GCP_PROJECT_ID=${PROJECT_ID},USE_SECRETS_MANAGER=true,SECRETS_PROVIDER=gcp" \
706712
--allow-unauthenticated
707713
```
@@ -742,7 +748,7 @@ spec:
742748
resources:
743749
limits:
744750
cpu: "2"
745-
memory: "2Gi"
751+
memory: "4Gi"
746752
```
747753
748754
## Service Account Configuration

get_cloud_run_token.sh

Lines changed: 0 additions & 41 deletions
This file was deleted.

get_token_user_account.sh

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)