-
Notifications
You must be signed in to change notification settings - Fork 22
/
fly-app-prod.toml
49 lines (39 loc) · 938 Bytes
/
fly-app-prod.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
# fly-app-prod.toml file generated for price-tracker on 2023-02-19T02:00:00+08:00
app = "price-tracker"
kill_signal = "SIGINT"
primary_region = "ams"
kill_timeout = 5
[build]
builder = "paketobuildpacks/builder:base"
[env]
PORT = "8080"
[experimental]
allowed_public_ports = []
auto_rollback = true
[processes]
web = "gunicorn -c gun_config.py app:app"
#scheduler = "python pt_scheduler.py"
[[services]]
http_checks = []
internal_port = 8080
# Make sure there's only one `processes` entry under `[[services]]`
# defined under [processes] will be exposed to the public internet
processes = ["web"]
protocol = "tcp"
script_checks = []
[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
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"