-
Notifications
You must be signed in to change notification settings - Fork 1
/
fly.toml
53 lines (43 loc) · 1.12 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
# Configuration for deploying the app on Fly.io.
#
# Doesn't use the local Dockerfile, but the common Go builder so
# the architecture is correct for Fly's Firecracker microVMs.
# ENV variables are set in the app's settings to determine what
# site will be crawled.
app = "gofind"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
builder = "paketobuildpacks/builder:base"
buildpacks = ["gcr.io/paketo-buildpacks/go"]
[env]
PORT = "8080"
START_URL = "https://increment.com/"
MAX_DEPTH = "3"
ALLOWED_DOMAINS = "increment.com"
DISALLOWED_DOMAINS = "stripe.com,facebook.com,twitter.com,www.youtube.com"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 50
soft_limit = 45
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"