-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.yaml
58 lines (48 loc) · 895 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
module: api
runtime: go
vm: true
api_version: go1
automatic_scaling:
min_num_instances: 1
max_num_instances: 5
cool_down_period_sec: 60
cpu_utilization:
target_utilization: 0.8
health_check:
enable_health_check: True
check_interval_sec: 5
timeout_sec: 4
unhealthy_threshold: 2
healthy_threshold: 2
restart_threshold: 60
network:
forwarded_ports:
- 8090
instance_tag: "mvm"
resources:
cpu: .5
memory_gb: 1.3
disk_size_gb: 10
handlers:
- url: /_ah/.+
script: _go_app
login: admin
- url: /status
script: _go_app
login: admin
secure: always
- url: /subscriptions
script: _go_app
login: admin
secure: always
- url: /tokens/collect
script: _go_app
login: admin
secure: always
- url: /mock.+
script: _go_app
login: admin
secure: always
- url: /.+
script: _go_app
secure: always