fix: rename fly tomls to original

This commit is contained in:
Gergo Moricz 2024-07-11 23:21:02 +02:00
parent bd84290b9e
commit f64a2d8668
2 changed files with 22 additions and 22 deletions

View File

@ -3,13 +3,13 @@
# 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'
kill_signal = 'SIGINT'
kill_timeout = '30s'
[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]
@ -20,7 +20,7 @@ kill_timeout = '30s'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = false
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 2
processes = ['app']
@ -31,16 +31,17 @@ kill_timeout = '30s'
soft_limit = 50
[[http_service.checks]]
grace_period = "20s"
grace_period = "10s"
interval = "30s"
method = "GET"
timeout = "15s"
timeout = "5s"
path = "/"
[[services]]
protocol = 'tcp'
internal_port = 8080
processes = ['app']
processes = ['worker']
[[services.ports]]
port = 80
@ -53,12 +54,13 @@ kill_timeout = '30s'
[services.concurrency]
type = 'connections'
hard_limit = 30
soft_limit = 12
hard_limit = 25
soft_limit = 20
[[vm]]
size = 'performance-4x'
processes = ['app']
size = 'performance-1x'
processes = ['app','worker']

View File

@ -3,13 +3,13 @@
# 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'
kill_signal = 'SIGINT'
kill_timeout = '30s'
[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]
@ -20,7 +20,7 @@ kill_timeout = '30s'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 2
processes = ['app']
@ -31,17 +31,16 @@ kill_timeout = '30s'
soft_limit = 50
[[http_service.checks]]
grace_period = "10s"
grace_period = "20s"
interval = "30s"
method = "GET"
timeout = "5s"
timeout = "15s"
path = "/"
[[services]]
protocol = 'tcp'
internal_port = 8080
processes = ['worker']
processes = ['app']
[[services.ports]]
port = 80
@ -54,13 +53,12 @@ kill_timeout = '30s'
[services.concurrency]
type = 'connections'
hard_limit = 25
soft_limit = 20
hard_limit = 30
soft_limit = 12
[[vm]]
size = 'performance-1x'
processes = ['app','worker']
size = 'performance-4x'
processes = ['app']