summaryrefslogtreecommitdiffstats
path: root/fly.toml
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2026-01-19 14:45:34 -0500
committersiddharth ravikumar <s@ricketyspace.net>2026-01-19 14:45:34 -0500
commit6002012f09cab5c35dc74094e3bf19c5d3027d9e (patch)
tree383e8057e2f516dc068710374249fb8d0bd33d1b /fly.toml
parent071dbd8a7615abdf234cc58329944303488339ca (diff)
update fly.toml
Diffstat (limited to 'fly.toml')
-rw-r--r--fly.toml44
1 files changed, 13 insertions, 31 deletions
diff --git a/fly.toml b/fly.toml
index 2c7c48d..cefa5bd 100644
--- a/fly.toml
+++ b/fly.toml
@@ -1,41 +1,23 @@
-# fly.toml file generated for peach on 2022-06-04T18:39:54-04:00
+# https://fly.io/docs/reference/configuration
app = "peach"
kill_signal = "SIGINT"
kill_timeout = 5
-processes = []
+primary_region = "iad"
+
[env]
PEACH_PHOTON_URL = "https://photon.komoot.io"
-[experimental]
- allowed_public_ports = []
- auto_rollback = true
-
-[[services]]
- http_checks = []
+[http_service]
internal_port = 8151
- processes = ["app"]
- protocol = "tcp"
- script_checks = []
-
- [services.concurrency]
- hard_limit = 25
- soft_limit = 20
- type = "connections"
-
- [[services.ports]]
- force_https = true
- handlers = ["http"]
- port = 80
-
- [[services.ports]]
- handlers = ["tls", "http"]
- port = 443
-
- [[services.tcp_checks]]
- grace_period = "1s"
- interval = "15s"
- restart_limit = 0
- timeout = "2s"
+ force_https = true
+ auto_stop_machines = "stop"
+ auto_start_machines = true
+ min_machines_running = 0
+
+[[vm]]
+ cpu_kind = "shared"
+ cpus = 1
+ memory_mb = 256