forked from chainguard-dev/edu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
36 lines (29 loc) · 744 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
34
35
runtime: python310
instance_class: F1
# disable automatic scaling to avoid incurring costs
automatic_scaling:
target_cpu_utilization: 0.65
min_instances: 0
max_instances: 1
min_pending_latency: 30ms # default value
max_pending_latency: automatic
max_concurrent_requests: 50
handlers:
- url: /(.*\.css)
mime_type: text/css
static_files: public/\1
upload: public/(.*\.css)
- url: /(.+)/
static_files: public/\1/index.html
upload: public/(.+)/index.html
- url: /
static_files: public/index.html
upload: public/index.html
- url: /([^\.]+)([^/])
static_files: public/\1\2/index.html
upload: public/(.+)
- url: /(.+)
static_files: public/\1
upload: public/(.+)
error_handlers:
- file: default_error.html