Skip to content

Commit

Permalink
api/fly: configure health checks (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
worm-emoji authored Sep 3, 2022
1 parent 535d3fd commit d7d3789
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ processes = []
auto_rollback = true

[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
Expand All @@ -38,3 +37,13 @@ processes = []
interval = "15s"
restart_limit = 0
timeout = "2s"

[[services.http_checks]]
grace_period = "2s"
interval = "10s"
method = "get"
path = "/health"
protocol = "http"
restart_limit = 0
timeout = "2s"
tls_skip_verify = false

1 comment on commit d7d3789

@vercel
Copy link

@vercel vercel bot commented on d7d3789 Sep 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lanyard – ./

lanyard-git-main.context.wtf
allowlist.context.wtf
lanyard.context.wtf

Please sign in to comment.