Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

updated config (#405)

Andrii Romasiun46fcfeeec51c
diff --git a/fly.toml b/fly.toml
index 4cb163356..f46aa8489 100644
--- a/fly.toml
+++ b/fly.toml
@@ -1,37 +1,44 @@
-app = "swetrix-fe"
-primary_region = "lhr"
-kill_signal = "SIGINT"
-kill_timeout = "5s"
+# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
+
+app = 'swetrix'
+primary_region = 'lhr'
+kill_signal = 'SIGINT'
+kill_timeout = '5s'
[experimental]
auto_rollback = true
[build]
- dockerfile = "Dockerfile.fly"
+ dockerfile = 'Dockerfile.fly'
[env]
- PORT = "8080"
+ PORT = '8080'
[[services]]
- protocol = "tcp"
+ protocol = 'tcp'
internal_port = 8080
- processes = ["app"]
+ processes = ['app']
- [[services.ports]]
+[[services.ports]]
port = 80
- handlers = ["http"]
+ handlers = ['http']
force_https = true
- [[services.ports]]
+[[services.ports]]
port = 443
- handlers = ["tls", "http"]
+ handlers = ['tls', 'http']
+
[services.concurrency]
- type = "connections"
+ type = 'connections'
hard_limit = 25
soft_limit = 20
- [[services.tcp_checks]]
- interval = "15s"
- timeout = "2s"
- grace_period = "1s"
- restart_limit = 0
+[[services.tcp_checks]]
+ interval = '15s'
+ timeout = '2s'
+ grace_period = '1s'
+
+[[vm]]
+ memory = '512mb'
+ cpu_kind = 'shared'
+ cpus = 1