Skip to content

Commit

Permalink
update demo project fly.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tofran committed Mar 31, 2024
1 parent 1473e5b commit 4fd3a69
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions demo/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,18 @@ processes = []
auto_rollback = false
private_network = true

[[services]]
[http_service]
internal_port = 4000
processes = ["app"]
protocol = "tcp"
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ['app']

[[http_service.checks]]
method = "GET"
path = "/"
grace_period = "10s"
interval = "20s"
timeout = "5s"

[services.concurrency]
hard_limit = 300
soft_limit = 200
type = "connections"

[[services.ports]]
handlers = ["tls", "http"]
port = 443

[[services.ports]]
force_https = true
handlers = ["http"]
port = 80

[[services.tcp_checks]]
grace_period = "15s"
interval = "15s"
restart_limit = 2
timeout = "4s"

0 comments on commit 4fd3a69

Please sign in to comment.