2024-04-15 17:01:47 -04: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'
|
|
|
|
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
|
2024-05-04 16:49:09 -04:00
|
|
|
auto_stop_machines = false
|
2024-04-15 17:01:47 -04:00
|
|
|
auto_start_machines = true
|
2024-05-04 16:49:09 -04:00
|
|
|
min_machines_running = 2
|
2024-04-15 17:01:47 -04:00
|
|
|
processes = ['app']
|
|
|
|
|
2024-05-06 20:16:43 -04:00
|
|
|
[http_service.concurrency]
|
|
|
|
type = "requests"
|
|
|
|
hard_limit = 200
|
|
|
|
soft_limit = 100
|
|
|
|
|
2024-05-27 13:01:12 -04:00
|
|
|
[[http_service.checks]]
|
|
|
|
grace_period = "10s"
|
|
|
|
interval = "30s"
|
|
|
|
method = "GET"
|
|
|
|
timeout = "5s"
|
|
|
|
path = "/"
|
|
|
|
|
2024-04-15 17:01:47 -04:00
|
|
|
[[services]]
|
|
|
|
protocol = 'tcp'
|
|
|
|
internal_port = 8080
|
|
|
|
processes = ['app']
|
|
|
|
|
|
|
|
[[services.ports]]
|
|
|
|
port = 80
|
|
|
|
handlers = ['http']
|
|
|
|
force_https = true
|
|
|
|
|
|
|
|
[[services.ports]]
|
|
|
|
port = 443
|
|
|
|
handlers = ['tls', 'http']
|
|
|
|
|
|
|
|
[services.concurrency]
|
|
|
|
type = 'connections'
|
2024-05-06 20:16:43 -04:00
|
|
|
hard_limit = 75
|
|
|
|
soft_limit = 30
|
2024-04-15 17:01:47 -04:00
|
|
|
|
|
|
|
[[vm]]
|
2024-06-04 02:49:46 -04:00
|
|
|
size = 'performance-8x'
|
2024-05-06 20:16:43 -04:00
|
|
|
processes = ['app']
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-15 17:01:47 -04:00
|
|
|
|
|
|
|
|