-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
33 lines (26 loc) · 897 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
25
26
27
28
29
30
31
32
33
# https://cloud.google.com/appengine/docs/standard/nodejs/config/appref
runtime: nodejs14
instance_class: F1
automatic_scaling:
min_instances: 0
max_instances: 1
max_idle_instances: 1
target_cpu_utilization: 0.95
target_throughput_utilization: 0.95
max_concurrent_requests: 80
min_pending_latency: 500ms
max_pending_latency: 2500ms
entrypoint: node -r source-map-support/register dist/main
env_variables:
NODE_ENV: production
# https://cloud.google.com/appengine/docs/standard/nodejs/configuring-warmup-requests
# Note: Manual or basic scaling instances do not receive an /_ah/warmup request.
inbound_services:
- warmup
default_expiration: "7d"
# Static routes are generated before gcloud app deploy
# Check out scripts/make-static-handlers.ts
# Run manually with: yarn static
# Not required for dev server (static files are served by Fastify)
includes:
- routes.yaml