forked from roots/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.yaml
24 lines (21 loc) · 907 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
# App Engine runtime configuration
runtime: php73
instance_class: F1
service: default
# Defaults to "serve index.php" and "serve public/index.php". Can be used to
# serve a custom PHP front controller (e.g. "serve backend/index.php") or to
# run a long-running PHP script as a worker process (e.g. "php worker.php").
entrypoint: serve web/gae-app.php
automatic_scaling:
target_cpu_utilization: 0.9
max_concurrent_requests: 3
target_throughput_utilization: 0.8 # multiply to max_concurrent_requests, if waiting requests are more a new instance will be spawned
min_instances: 0
max_instances: 10
max_pending_latency: 150ms # if requests wait more to be served, a new instance will be spawned
min_pending_latency: 100ms # if requests can be served in less time, an instance will be shut down
min_idle_instances: 0
max_idle_instances: 1
includes:
- env_variables.yaml
- handlers.yaml