firecrawl/apps/api/_ORIGIN_fly.toml

64 lines
1.1 KiB
TOML
Raw Normal View History

2024-05-18 05:33:59 +08:00
# fly.toml app configuration file generated for firecrawl-scraper-js on 2024-04-07T21:09:59-03:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'firecrawl-scraper-js'
2024-05-18 05:33:59 +08:00
primary_region = 'mia'
kill_signal = 'SIGINT'
kill_timeout = '5s'
[build]
[processes]
app = 'npm run start:production'
worker = 'npm run worker:production'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = false
2024-05-18 05:33:59 +08:00
auto_start_machines = true
min_machines_running = 2
processes = ['app']
[http_service.concurrency]
type = "requests"
2024-05-22 20:30:32 +08:00
hard_limit = 100
soft_limit = 50
2024-05-18 05:33:59 +08:00
2024-05-28 01:00:52 +08:00
[[http_service.checks]]
grace_period = "20s"
2024-05-28 01:00:52 +08:00
interval = "30s"
method = "GET"
timeout = "15s"
2024-05-28 01:00:52 +08:00
path = "/"
2024-05-18 05:33:59 +08:00
[[services]]
protocol = 'tcp'
internal_port = 8080
processes = ['app']
2024-05-18 05:33:59 +08:00
[[services.ports]]
port = 80
handlers = ['http']
force_https = true
[[services.ports]]
port = 443
handlers = ['tls', 'http']
[services.concurrency]
type = 'connections'
hard_limit = 30
soft_limit = 12
2024-05-18 05:33:59 +08:00
[[vm]]
size = 'performance-4x'
processes = ['app']
2024-05-18 05:33:59 +08:00