-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
24 lines (22 loc) · 863 Bytes
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
runtime: python
env: flex
entrypoint: gunicorn -b :$PORT FIND:app
runtime_config:
python_version: 3
env_variables:
# Replace user, password, database, and instance connection name with the values obtained
# when configuring your Cloud SQL instance.
SQLALCHEMY_DATABASE_URI: >-
mysql+pymysql://root:password@/source_validation?unix_socket=/cloudsql/find-219301:us-central1:find-mysql
beta_settings:
cloud_sql_instances: find-219301:us-central1:find-mysql
# 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-yaml
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10