Skip to content

Commit

Permalink
✈️ fly improvement (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultleouay authored Aug 5, 2024
1 parent cc7220c commit d6d12e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/checker/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ primary_region = "ams"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = false
auto_stop_machines = "off"
auto_start_machines = false
processes = ["app"]

Expand Down
7 changes: 5 additions & 2 deletions apps/server/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ primary_region = "ams"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = true
auto_stop_machines = "suspend"
auto_start_machines = true
min_machines_running = 1

processes = ["app"]

[http_service.concurrency]
type = "requests"
hard_limit = 1000
Expand All @@ -38,6 +38,9 @@ primary_region = "ams"
timeout = "5s"
path = "/ping"

[env]
NODE_ENV = "production"
PORT = "3000"


# [checks]
Expand Down

0 comments on commit d6d12e0

Please sign in to comment.