forked from dart-archive/dart-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
44 lines (35 loc) · 845 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
runtime: custom
env: flex
resources:
cpu: 1
memory_gb: 4
disk_size_gb: 50
automatic_scaling:
min_num_instances: 12
max_num_instances: 40
cool_down_period_sec: 60
cpu_utilization:
target_utilization: 0.6
env_variables:
REDIS_SERVER_URI: 'redis://10.0.0.4:6379'
network:
name: vpc-dart-services
service: default
skip_files:
- ^\.git/.*$
# Health checks, for detail please see:
# https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml#updated_health_checks
liveness_check:
path: "/liveness_check"
check_interval_sec: 30
timeout_sec: 5
failure_threshold: 2
success_threshold: 2
initial_delay_sec: 600
readiness_check:
path: "/readiness_check"
check_interval_sec: 5
timeout_sec: 4
failure_threshold: 2
success_threshold: 2
app_start_timeout_sec: 300