add health check

This commit is contained in:
Brandon Egger 2024-04-23 16:28:30 -05:00
parent 2a41854483
commit c83769e6e0

View File

@ -1,9 +1,9 @@
# fly.toml app configuration file generated for uiowaatr on 2024-04-22T12:40:29-05:00
# fly.toml app configuration file generated for uiowa-atr on 2024-04-23T16:22:44-05:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'uiowaatr'
app = 'uiowa-atr'
primary_region = 'ord'
[build]
@ -16,7 +16,13 @@ primary_region = 'ord'
min_machines_running = 0
processes = ['app']
[[http_service.checks]]
interval = '30s'
timeout = '5s'
grace_period = '10s'
method = 'GET'
path = '/'
[[vm]]
memory = '256MB'
cpu_kind = 'shared'
cpus = 1
size = 'shared-cpu-1x'