aboutsummaryrefslogtreecommitdiff
path: root/cmd/hdrwtch/fly.toml
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-08-21 19:59:59 -0400
committerXe Iaso <me@xeiaso.net>2024-08-21 19:59:59 -0400
commit2a8393020e0c1cc302c87fcdf0601b15aaa10f1b (patch)
treed56a43a2aa4e0c88c10e651f69e8d7d18b1946b9 /cmd/hdrwtch/fly.toml
parentd9a0fb6435165fd3c6044de9ce8cbb0662fb6628 (diff)
downloadx-2a8393020e0c1cc302c87fcdf0601b15aaa10f1b.tar.xz
x-2a8393020e0c1cc302c87fcdf0601b15aaa10f1b.zip
cmd/hdrwtch: yolo
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/hdrwtch/fly.toml')
-rw-r--r--cmd/hdrwtch/fly.toml36
1 files changed, 36 insertions, 0 deletions
diff --git a/cmd/hdrwtch/fly.toml b/cmd/hdrwtch/fly.toml
new file mode 100644
index 0000000..7475fd8
--- /dev/null
+++ b/cmd/hdrwtch/fly.toml
@@ -0,0 +1,36 @@
+# fly.toml app configuration file generated for hdrwtch on 2024-08-21T19:45:53-04:00
+#
+# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
+#
+
+app = 'hdrwtch'
+primary_region = 'yul'
+
+[env]
+ DATABASE_LOC = "/data/hdrwtch.db"
+ DOMAIN = "hdrwtch.xeserv.us"
+
+[mounts]
+ source = "data"
+ destination = "/data"
+ auto_extend_size_threshold = 80
+ auto_extend_size_increment = "1GB"
+ auto_extend_size_limit = "10GB"
+
+[build]
+ image = "registry.fly.io/hdrwtch:latest"
+
+[services.concurrency]
+ type = "connections"
+ hard_limit = 1000
+ soft_limit = 750
+
+[http_service]
+ internal_port = 8080
+ force_https = true
+ processes = ['app']
+
+[[vm]]
+ memory = '1gb'
+ cpu_kind = 'shared'
+ cpus = 1