-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
40 lines (33 loc) · 777 Bytes
/
fly.toml
File metadata and controls
40 lines (33 loc) · 777 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
39
40
app = "linkedin-profile-extractor"
primary_region = "iad" # US East (Virginia)
[build]
dockerfile = "Dockerfile"
[deploy]
strategy = "rolling"
release_command = "python -m pip install -r requirements.txt"
[env]
PORT = "8000"
PYTHONUNBUFFERED = "1"
PRIMARY_REGION = "iad"
[http_service]
internal_port = 8000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[http_service.concurrency]
type = "connections"
hard_limit = 1000
soft_limit = 500
[[http_service.checks]]
interval = "60s"
timeout = "10s"
grace_period = "120s"
method = "GET"
path = "/docs"
protocol = "http"
tls_skip_verify = false
[metrics]
port = 9091
path = "/metrics"