-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
41 lines (34 loc) · 789 Bytes
/
fly.toml
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
# fly.toml file generated for tir on 2023-03-31T10:23:17-07:00
app = "tir"
kill_signal = "SIGINT"
kill_timeout = 5
primary_region = "sjc"
processes = []
[build]
builder = "paketobuildpacks/builder:base"
buildpacks = ["gcr.io/paketo-buildpacks/go"]
[build.args]
BP_KEEP_FILES="./static/*"
BP_GO_TARGETS = "./cmd/server"
[env]
PORT = "8080"
HOME = "/home"
# Assumes /home is the home directory.
[mounts]
source = "tir_data"
destination = "/home"
[[services]]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443