local-ip.sh/fly.toml
2024-07-20 02:43:52 +02:00

63 lines
1.0 KiB
TOML

# fly.toml app configuration file generated for local-ip-ancient-glade-4376 on 2023-11-29T11:43:10+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "local-ip"
primary_region = "ams"
kill_signal = "SIGINT"
kill_timeout = "5s"
[experimental]
auto_rollback = true
[build]
[env]
PORT = "53"
[mounts]
source = "lego"
destination = "/local-ip/.lego"
[[services]]
protocol = "udp"
internal_port = 53
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 0
[[services.ports]]
port = 53
[[services]]
protocol = "tcp"
internal_port = 80
[[services.ports]]
port = 80
[[services]]
protocol = "tcp"
internal_port = 443
[[services.ports]]
port = 443
# [[services.http_checks]]
# interval = 10000
# grace_period = "30s"
# method = "get"
# path = "/"
# protocol = "https"
# timeout = 15000
# tls_skip_verify = false
# tls_server_name = "local-ip.sh"
# [services.http_checks.headers]
[[vm]]
size = "shared-cpu-1x"
cpu_kind = "shared"
cpus = 1
memory_mb = 256