aboutsummaryrefslogtreecommitdiff
path: root/fly.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-06-24 04:36:20 -0700
committerFuwn <[email protected]>2024-06-24 04:36:20 -0700
commita7d1406683e29358a269f0c10df572339eebcf5d (patch)
treee3d4e6f672ad38180cb031859fab9e343fbc319c /fly.toml
parentfeat(technology): maths (diff)
downloadlocus-a7d1406683e29358a269f0c10df572339eebcf5d.tar.xz
locus-a7d1406683e29358a269f0c10df572339eebcf5d.zip
chore: add fly.io configuration
Diffstat (limited to 'fly.toml')
-rw-r--r--fly.toml33
1 files changed, 33 insertions, 0 deletions
diff --git a/fly.toml b/fly.toml
new file mode 100644
index 0000000..f3f0c63
--- /dev/null
+++ b/fly.toml
@@ -0,0 +1,33 @@
+# fly.toml app configuration file generated for locus on 2024-06-24T04:24:22-07:00
+#
+# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
+#
+
+app = 'locus'
+primary_region = 'sea'
+
+[build]
+
+[[mounts]]
+ source = 'locus'
+ destination = '/locus/.locus'
+
+[http_service]
+ internal_port = 1965
+ force_https = true
+ auto_stop_machines = true
+ auto_start_machines = true
+ min_machines_running = 0
+ processes = ['app']
+
+[[services]]
+ protocol = 'tcp'
+ internal_port = 1965
+
+ [[services.ports]]
+ port = 1965
+
+[[vm]]
+ memory = '1gb'
+ cpu_kind = 'shared'
+ cpus = 1