mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-07-03 13:55:13 +08:00
fix: rename fly tomls to original
This commit is contained in:
parent
bd84290b9e
commit
f64a2d8668
@ -3,13 +3,13 @@
|
|||||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||||
#
|
#
|
||||||
|
|
||||||
app = 'firecrawl-scraper-js'
|
app = 'staging-firecrawl-scraper-js'
|
||||||
primary_region = 'mia'
|
primary_region = 'mia'
|
||||||
kill_signal = 'SIGINT'
|
kill_signal = 'SIGINT'
|
||||||
kill_timeout = '30s'
|
kill_timeout = '30s'
|
||||||
|
|
||||||
[deploy]
|
[deploy]
|
||||||
release_command = 'node dist/src/trigger-shutdown.js https://api.firecrawl.dev'
|
release_command = 'node dist/src/trigger-shutdown.js https://staging-firecrawl-scraper-js.fly.dev'
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ kill_timeout = '30s'
|
|||||||
[http_service]
|
[http_service]
|
||||||
internal_port = 8080
|
internal_port = 8080
|
||||||
force_https = true
|
force_https = true
|
||||||
auto_stop_machines = false
|
auto_stop_machines = true
|
||||||
auto_start_machines = true
|
auto_start_machines = true
|
||||||
min_machines_running = 2
|
min_machines_running = 2
|
||||||
processes = ['app']
|
processes = ['app']
|
||||||
@ -31,16 +31,17 @@ kill_timeout = '30s'
|
|||||||
soft_limit = 50
|
soft_limit = 50
|
||||||
|
|
||||||
[[http_service.checks]]
|
[[http_service.checks]]
|
||||||
grace_period = "20s"
|
grace_period = "10s"
|
||||||
interval = "30s"
|
interval = "30s"
|
||||||
method = "GET"
|
method = "GET"
|
||||||
timeout = "15s"
|
timeout = "5s"
|
||||||
path = "/"
|
path = "/"
|
||||||
|
|
||||||
|
|
||||||
[[services]]
|
[[services]]
|
||||||
protocol = 'tcp'
|
protocol = 'tcp'
|
||||||
internal_port = 8080
|
internal_port = 8080
|
||||||
processes = ['app']
|
processes = ['worker']
|
||||||
|
|
||||||
[[services.ports]]
|
[[services.ports]]
|
||||||
port = 80
|
port = 80
|
||||||
@ -53,12 +54,13 @@ kill_timeout = '30s'
|
|||||||
|
|
||||||
[services.concurrency]
|
[services.concurrency]
|
||||||
type = 'connections'
|
type = 'connections'
|
||||||
hard_limit = 30
|
hard_limit = 25
|
||||||
soft_limit = 12
|
soft_limit = 20
|
||||||
|
|
||||||
[[vm]]
|
[[vm]]
|
||||||
size = 'performance-4x'
|
size = 'performance-1x'
|
||||||
processes = ['app']
|
processes = ['app','worker']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -3,13 +3,13 @@
|
|||||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||||
#
|
#
|
||||||
|
|
||||||
app = 'staging-firecrawl-scraper-js'
|
app = 'firecrawl-scraper-js'
|
||||||
primary_region = 'mia'
|
primary_region = 'mia'
|
||||||
kill_signal = 'SIGINT'
|
kill_signal = 'SIGINT'
|
||||||
kill_timeout = '30s'
|
kill_timeout = '30s'
|
||||||
|
|
||||||
[deploy]
|
[deploy]
|
||||||
release_command = 'node dist/src/trigger-shutdown.js https://staging-firecrawl-scraper-js.fly.dev'
|
release_command = 'node dist/src/trigger-shutdown.js https://api.firecrawl.dev'
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ kill_timeout = '30s'
|
|||||||
[http_service]
|
[http_service]
|
||||||
internal_port = 8080
|
internal_port = 8080
|
||||||
force_https = true
|
force_https = true
|
||||||
auto_stop_machines = true
|
auto_stop_machines = false
|
||||||
auto_start_machines = true
|
auto_start_machines = true
|
||||||
min_machines_running = 2
|
min_machines_running = 2
|
||||||
processes = ['app']
|
processes = ['app']
|
||||||
@ -31,17 +31,16 @@ kill_timeout = '30s'
|
|||||||
soft_limit = 50
|
soft_limit = 50
|
||||||
|
|
||||||
[[http_service.checks]]
|
[[http_service.checks]]
|
||||||
grace_period = "10s"
|
grace_period = "20s"
|
||||||
interval = "30s"
|
interval = "30s"
|
||||||
method = "GET"
|
method = "GET"
|
||||||
timeout = "5s"
|
timeout = "15s"
|
||||||
path = "/"
|
path = "/"
|
||||||
|
|
||||||
|
|
||||||
[[services]]
|
[[services]]
|
||||||
protocol = 'tcp'
|
protocol = 'tcp'
|
||||||
internal_port = 8080
|
internal_port = 8080
|
||||||
processes = ['worker']
|
processes = ['app']
|
||||||
|
|
||||||
[[services.ports]]
|
[[services.ports]]
|
||||||
port = 80
|
port = 80
|
||||||
@ -54,13 +53,12 @@ kill_timeout = '30s'
|
|||||||
|
|
||||||
[services.concurrency]
|
[services.concurrency]
|
||||||
type = 'connections'
|
type = 'connections'
|
||||||
hard_limit = 25
|
hard_limit = 30
|
||||||
soft_limit = 20
|
soft_limit = 12
|
||||||
|
|
||||||
[[vm]]
|
[[vm]]
|
||||||
size = 'performance-1x'
|
size = 'performance-4x'
|
||||||
processes = ['app','worker']
|
processes = ['app']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user