-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwaypoint.hcl
More file actions
38 lines (31 loc) · 781 Bytes
/
waypoint.hcl
File metadata and controls
38 lines (31 loc) · 781 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
project = "serverless-python"
app "api" {
build {
use "docker" {}
registry {
use "docker" {
image = "gcr.io/josharmi-waypoint/serverless-python"
tag = "latest"
}
}
}
deploy {
use "google-cloud-run" {
project = "josharmi-waypoint"
location = "europe-west2"
port = 8080
capacity {
memory = 128
cpu_count = 1
max_requests_per_container = 10
request_timeout = 300
}
auto_scaling {
max = 1
}
}
}
release {
use "google-cloud-run" {}
}
}