-
Notifications
You must be signed in to change notification settings - Fork 2
/
fly.toml
37 lines (31 loc) · 860 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
# fly.toml app configuration file generated for vss-staging on 2023-09-18T22:35:00-05:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "vss-staging"
primary_region = "dfw"
[env]
RUST_LOG = "info"
MIGRATION_START_INDEX = "0"
MIGRATION_BATCH_SIZE = "100"
[build]
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 2 # recommended for production
processes = ["app"]
[http_service.concurrency]
type = "requests"
soft_limit = 200
hard_limit = 250
# Checks our health endpoint every 5 seconds, starting 10 seconds after the VM starts
[[http_service.checks]]
grace_period = "10s"
interval = "5s"
method = "GET"
timeout = "5s"
path = "/health-check"
[deploy]
strategy = "canary"