From a7837e944587159017454a917c46de4a6edb1862 Mon Sep 17 00:00:00 2001 From: Rush S Date: Sat, 13 Jan 2024 23:40:05 -0500 Subject: [PATCH] update deploy image --- go/fly.toml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 go/fly.toml diff --git a/go/fly.toml b/go/fly.toml new file mode 100644 index 0000000..d7c3deb --- /dev/null +++ b/go/fly.toml @@ -0,0 +1,20 @@ +app = "covid-exporter" +primary_region = "mia" + +[build] +image = "rushsimonson/covid-exporter:go-0.0.4" + +[http_service] +internal_port = 8000 +force_https = false +auto_stop_machines = true +auto_start_machines = true +min_machines_running = 0 +processes = ["app"] + +[[http_service.checks]] +grace_period = "10s" +interval = "30s" +method = "GET" +timeout = "5s" +path = "/metrics"