# Copyright 2021 Google LLC## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.runtime:pythonenv:flexentrypoint:gunicorn -b :$PORT main:appruntime_config:operating_system:ubuntu22# This sample incurs costs to run on the App Engine flexible environment.# The settings below are to reduce costs during testing and are not appropriate# for production use. For more information, see:# https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yamlmanual_scaling:instances:1resources:cpu:1memory_gb:0.5disk_size_gb:10
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-07。"],[[["App Engine apps are configured using an `app.yaml` file, which defines CPU, memory, network, disk resources, scaling, environment variables, and general settings."],["The `app.yaml` file specifies the runtime configuration for a Python app, including versions and URLs, and it serves as a deployment descriptor for a specific service version."],["You must create an `app.yaml` file for the `default` service before creating and deploying `app.yaml` files for additional services."],["The `app.yaml` file can be named uniquely, but the file name must then be specified with the deployment command, such as `gcloud app deploy service-name-app.yaml`."],["Some Python runtimes have reached their end of support, so it's recommended to upgrade your app to use the latest version of Python in the `app.yaml` file."]]],[]]