Openstatus
www.openstatus.dev
1# fly.toml app configuration file generated for openstatus-api on 2023-09-13T17:29:05+02:00
2#
3# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4#
5
6app = "openstatus-api"
7primary_region = "ams"
8
9
10[build]
11 dockerfile = "./Dockerfile"
12
13[[vm]]
14 cpu_kind = "shared"
15 cpus = 1
16 memory_mb = 512
17
18[http_service]
19 internal_port = 3000
20 force_https = true
21 auto_stop_machines = "suspend"
22 auto_start_machines = true
23 min_machines_running = 1
24 processes = ["app"]
25
26[http_service.concurrency]
27 type = "requests"
28 hard_limit = 1000
29 soft_limit = 500
30
31[deploy]
32 strategy = "bluegreen"
33
34[[http_service.checks]]
35 grace_period = "10s"
36 interval = "15s"
37 method = "GET"
38 timeout = "5s"
39 path = "/ping"
40
41[env]
42 NODE_ENV = "production"
43 PORT = "3000"
44
45
46# [checks]
47# [checks.name_of_your_http_check]
48# port = 3000
49# type = "http"
50# interval = "15s"
51# timeout = "10s"
52# grace_period = "30s"
53# method = "get"
54# path = "/ping"
55
56# [[services.http_checks]]
57# interval = 10000
58# grace_period = "5s"
59# method = "get"
60# path = "/ping"
61# protocol = "https"
62# timeout = 2000
63# tls_skip_verify = false