-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.yaml
39 lines (32 loc) · 1.02 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
runtime: python37
instance_class: F1
vpc_access_connector:
name: projects/cse546-group17/locations/us-central1/connectors/cse546-memcache-con
env_variables:
BUCKET_NAME: "example-gcs-bucket"
SECRET_KEY: "$$key"
SQLALCHEMY_DATABASE_URI: "postgres+pg8000://postgres:pedalhire@/pedalhire?unix_sock=/cloudsql/cse546-group17:us-central1:cse546sql/.s.PGSQL.5432"
SUPPORT_EMAIL: "[email protected]"
SEND_GRID_API_KEY: "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"
ENVIRONMENT: "release"
VERSION: "1.0"
SENTRY_DSN_API: ""
QUEUE_NAME: "pedalhire-reporting-queue"
PROJECT_ID: "cse546-group17"
LOCATION: "us-central1"
GOOGLE_CLOUD_BUCKET: "pedalhire"
REDISHOST: '10.77.29.211'
REDISPORT: '6379'
automatic_scaling:
target_cpu_utilization: 0.65
min_idle_instances: 1
min_pending_latency: 15000ms # default value
max_pending_latency: 15000ms
max_concurrent_requests: 50
inbound_services:
- warmup
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto