From 3c944f030b30911e0f254d4b7c0752548f165d74 Mon Sep 17 00:00:00 2001 From: shibatanaoto Date: Wed, 2 Apr 2025 13:06:01 +0900 Subject: [PATCH 1/2] modify initial morph_project.yml --- core/morph/config/project.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/morph/config/project.py b/core/morph/config/project.py index ed306ae..fa02790 100644 --- a/core/morph/config/project.py +++ b/core/morph/config/project.py @@ -110,11 +110,15 @@ def dump_project_yaml(project: MorphProject) -> str: deployment_aws_memory = "1024" deployment_aws_timeout = "300" deployment_aws_concurrency = "1" + deployment_aws_ephemeral_storage = "512Mi" + deployment_aws_provisioned_concurrency = "0" deployment_gcp_region = "us-central1" deployment_gcp_memory = "1Gi" deployment_gcp_cpu = "1" deployment_gcp_concurrency = "80" deployment_gcp_timeout = "300" + deployment_gcp_min_instances = "0" + deployment_gcp_ephemeral_storage = "100Mi" # Set values if build exists if project.build: @@ -193,10 +197,14 @@ def dump_project_yaml(project: MorphProject) -> str: # memory: {deployment_aws_memory} # timeout: {deployment_aws_timeout} # concurrency: {deployment_aws_concurrency} + # ephemeral_storage: {deployment_aws_ephemeral_storage} + # provisioned_concurrency: {deployment_aws_provisioned_concurrency} # gcp: # region: {deployment_gcp_region} # memory: {deployment_gcp_memory} # cpu: {deployment_gcp_cpu} # concurrency: {deployment_gcp_concurrency} # timeout: {deployment_gcp_timeout} + # min_instances: {deployment_gcp_min_instances} + # ephemeral_storage: {deployment_gcp_ephemeral_storage} """ From bfc351dfc5eca23051e11ba05872a923067ef89e Mon Sep 17 00:00:00 2001 From: shibatanaoto Date: Wed, 2 Apr 2025 13:06:29 +0900 Subject: [PATCH 2/2] modify initial morph_project.yml --- core/morph/config/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/morph/config/project.py b/core/morph/config/project.py index fa02790..48cf20f 100644 --- a/core/morph/config/project.py +++ b/core/morph/config/project.py @@ -110,7 +110,7 @@ def dump_project_yaml(project: MorphProject) -> str: deployment_aws_memory = "1024" deployment_aws_timeout = "300" deployment_aws_concurrency = "1" - deployment_aws_ephemeral_storage = "512Mi" + deployment_aws_ephemeral_storage = "512" deployment_aws_provisioned_concurrency = "0" deployment_gcp_region = "us-central1" deployment_gcp_memory = "1Gi"