local-ip.sh/fly.toml

60 lines
1.0 KiB
TOML
Raw Permalink Normal View History

2022-10-27 21:19:23 +00:00
app = "local-ip"
2023-12-12 21:25:39 +00:00
primary_region = "ams"
2022-10-27 21:19:23 +00:00
kill_signal = "SIGINT"
2023-12-12 21:25:39 +00:00
kill_timeout = "5s"
[experimental]
auto_rollback = true
[build]
2022-10-27 21:19:23 +00:00
[env]
2024-07-26 10:16:23 +00:00
XIP_DOMAIN = "local-ip.sh"
XIP_EMAIL = "admin@local-ip.sh"
XIP_NAMESERVERS = "137.66.40.11,137.66.40.12" # fly.io edge-only ip addresses, see https://community.fly.io/t/custom-domains-certificate-is-stuck-on-awaiting-configuration/8329
2022-10-27 21:19:23 +00:00
2023-12-12 21:25:39 +00:00
[mounts]
2024-07-20 00:43:52 +00:00
source = "lego"
destination = "/local-ip/.lego"
2023-12-12 21:25:39 +00:00
2022-10-27 21:19:23 +00:00
[[services]]
2023-12-12 21:25:39 +00:00
protocol = "udp"
internal_port = 53
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 0
2022-10-27 21:19:23 +00:00
2023-12-12 21:25:39 +00:00
[[services.ports]]
port = 53
2023-02-26 13:06:15 +00:00
2024-07-09 23:09:18 +00:00
[[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]
2023-12-12 21:25:39 +00:00
[[vm]]
2024-07-09 23:09:18 +00:00
size = "shared-cpu-1x"
2023-12-12 21:25:39 +00:00
cpu_kind = "shared"
cpus = 1
memory_mb = 256