-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfly.toml
41 lines (33 loc) · 980 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 balgpt on 2023-03-28T10:01:26+02:00
app = "balgpt"
kill_timeout = 0
primary_region = "ams"
[build]
dockerfile = "Dockerfile"
[env]
API_BASE_URL = "https://balgpt.fly.dev"
APP_BASE_DIR = "/app"
PORT = "8080"
SCRAPER_URL = "https://www.fcupdate.nl/voetbalcompetities/nederland/eredivisie/programma-uitslagen"
[[services]]
protocol = "tcp"
internal_port = 8080
[[services.ports]]
port = 80
handlers = ["http"]
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = 10000 # in milliseconds, 10000 ms = 10 seconds
timeout = 2000 # in milliseconds, 2000 ms = 2 seconds
type = "http"
method = "GET"
path = "/health" # The path to your health check endpoint
protocol = "http"
port = "80"
tls_skip_verify = false
status = 200 # Expected HTTP status code for a healthy instance