# fly.toml app configuration file generated for homestead on 2023-09-14T11:40:37+02:00 # # See https://fly.io/docs/reference/configuration/ for information about how to use this file. # app = "alanpearce-eu" primary_region = "ams" [build] [build.args] GO_VERSION = "1.22.1" [env] PORT = "3000" [metrics] port = 9091 path = "/metrics" [http_service] internal_port = 3000 force_https = true auto_stop_machines = false auto_start_machines = true min_machines_running = 3 processes = ["app"] [http_service.http_options.response.headers] Strict-Transport-Security = "max-age=31536000; includeSubdomains; preload" [[http_service.checks]] grace_period = "15s" interval = "30s" method = "GET" timeout = "1s" path = "/livez" [http_service.checks.headers] Host = "fly-internal"