Openstatus
www.openstatus.dev
1# fly.toml app configuration file generated for openstatus-workflows on 2024-11-09T11:20:33+01:00
2#
3# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4#
5
6app = 'openstatus-workflows'
7primary_region = 'ams'
8
9[build]
10 dockerfile = "./Dockerfile"
11
12[[vm]]
13 cpu_kind = "shared"
14 cpus = 2
15 memory_mb = 1024
16
17[http_service]
18 internal_port = 3000
19 force_https = true
20 auto_stop_machines = "suspend"
21 auto_start_machines = true
22 min_machines_running = 2
23 processes = ["app"]
24
25[http_service.concurrency]
26 type = "requests"
27 hard_limit = 1000
28 soft_limit = 500
29
30[deploy]
31 strategy = "rolling"
32
33[[http_service.checks]]
34 grace_period = "10s"
35 interval = "1m"
36 method = "GET"
37 timeout = "5s"
38 path = "/ping"
39
40[env]
41 NODE_ENV = "production"
42 PORT = "3000"
43
44[[mounts]]
45 source = "libsql_data"
46 destination = "/app/data"