-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.yaml
More file actions
42 lines (36 loc) · 705 Bytes
/
app.yaml
File metadata and controls
42 lines (36 loc) · 705 Bytes
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
name: videoeditorapi
region: nyc
services:
- name: api
source_dir: /
dockerfile_path: Dockerfile
github:
repo: jdportugal/VideoEditorAPI
branch: main
deploy_on_push: true
instance_count: 1
instance_size_slug: basic-s
http_port: 8080
run_command: python app.py
env:
- key: FLASK_ENV
value: production
- key: FLASK_APP
value: app.py
- key: PYTHONPATH
value: /app
health_check:
http_path: /health
initial_delay_seconds: 60
period_seconds: 30
timeout_seconds: 10
success_threshold: 1
failure_threshold: 3
port: 8080
routes:
- path: /
alerts:
- rule: CPU_UTILIZATION
value: 80
- rule: MEM_UTILIZATION
value: 80