You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
791 B
TOML

# fly.toml app configuration file generated for esp32-temp-chart on 2023-08-18T10:04:07+08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "esp32-temp-chart"
primary_region = "sin"
[build]
[[mounts]]
source = "esp32tempchart"
destination = "/app/data"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
[checks]
[checks.name_of_your_http_check]
port = 8080
type = "http"
interval = "15s"
timeout = "10s"
grace_period = "30s"
method = "get"
path = "/ping"
[checks.name_of_your_http_check.headers]
Authorization = "super-secret"
Content-Type = "application/json"