firecrawl/apps/api/fly.toml

64 lines
1.2 KiB
TOML
Raw Normal View History

2024-04-15 21:01:47 +00: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.
#
2024-07-11 21:21:02 +00:00
app = 'firecrawl-scraper-js'
primary_region = 'iad'
2024-04-15 21:01:47 +00:00
kill_signal = 'SIGINT'
kill_timeout = '30s'
2024-04-15 21:01:47 +00:00
[build]
[processes]
2024-07-24 21:39:00 +00:00
app = 'node --max-old-space-size=8192 dist/src/index.js'
worker = 'node --max-old-space-size=8192 dist/src/services/queue-worker.js'
2024-04-15 21:01:47 +00:00
[http_service]
internal_port = 8080
force_https = true
2024-07-11 21:21:02 +00:00
auto_stop_machines = false
2024-04-15 21:01:47 +00:00
auto_start_machines = true
2024-05-04 20:49:09 +00:00
min_machines_running = 2
2024-04-15 21:01:47 +00:00
processes = ['app']
2024-05-07 00:16:43 +00:00
[http_service.concurrency]
type = "requests"
2024-08-14 16:52:40 +00:00
# hard_limit = 200
soft_limit = 200
2024-05-07 00:16:43 +00:00
2024-05-27 17:01:12 +00:00
[[http_service.checks]]
2024-07-11 21:21:02 +00:00
grace_period = "20s"
2024-05-27 17:01:12 +00:00
interval = "30s"
method = "GET"
2024-07-11 21:21:02 +00:00
timeout = "15s"
2024-05-27 17:01:12 +00:00
path = "/"
2024-04-15 21:01:47 +00:00
[[services]]
protocol = 'tcp'
internal_port = 8080
2024-07-11 21:21:02 +00:00
processes = ['app']
2024-04-15 21:01:47 +00:00
[[services.ports]]
port = 80
handlers = ['http']
force_https = true
[[services.ports]]
port = 443
handlers = ['tls', 'http']
[services.concurrency]
type = 'connections'
2024-08-14 16:52:40 +00:00
# hard_limit = 30
soft_limit = 200
2024-04-15 21:01:47 +00:00
[[vm]]
2024-07-11 21:21:02 +00:00
size = 'performance-4x'
processes = ['app']
2024-05-07 00:16:43 +00:00
2024-04-15 21:01:47 +00:00