File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ This document records the actual configuration values used for this deployment.
1818- ** Storage Class** : Standard
1919- ** Purpose** : API response cache for Cloud Run deployment
2020- ** Access** : Private (service account only)
21+ - ** Versioning** : Enabled (for analytics.db recovery)
22+ - ** Lifecycle Policy** :
23+ - ` latest_image.jpg ` , ` latest_status.json ` : Keep only current version
24+ - ` analytics/* ` : Keep 10 most recent versions
2125
2226#### Reference Data and Models Bucket
2327- ** Bucket Name** : ` munimetro-annex `
@@ -35,7 +39,7 @@ This document records the actual configuration values used for this deployment.
3539- ** Region** : ` us-west1 `
3640- ** URL** : ` https://munimetro-api-438243686292.us-west1.run.app `
3741- ** Custom Domain** : ` https://munimet.ro `
38- - ** Memory** : 2Gi
42+ - ** Memory** : 512Mi
3943- ** CPU** : 1
4044- ** Concurrency** : 80
4145- ** Min Instances** : 0
@@ -47,7 +51,7 @@ This document records the actual configuration values used for this deployment.
4751- ** Job Name** : ` munimetro-checker `
4852- ** Type** : Cloud Run Job (batch execution)
4953- ** Region** : ` us-west1 `
50- - ** Memory** : 2Gi
54+ - ** Memory** : 512Mi
5155- ** CPU** : 1
5256- ** Task Timeout** : 120s
5357- ** Max Retries** : 3
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ gcloud run deploy "$API_SERVICE" \
8181 --project " $PROJECT_ID " \
8282 --service-account " $SERVICE_ACCOUNT_EMAIL " \
8383 --allow-unauthenticated \
84- --memory 1Gi \
84+ --memory 512Mi \
8585 --cpu 1 \
8686 --timeout 60s \
8787 --max-instances 10 \
@@ -133,7 +133,7 @@ gcloud run jobs deploy "$CHECKER_JOB" \
133133 --region " $REGION " \
134134 --project " $PROJECT_ID " \
135135 --service-account " $SERVICE_ACCOUNT_EMAIL " \
136- --memory 1Gi \
136+ --memory 512Mi \
137137 --cpu 1 \
138138 --task-timeout 120s \
139139 --max-retries 3 \
You can’t perform that action at this time.
0 commit comments