|
@@ -1,58 +1,57 @@
|
|
|
+# fly.toml app configuration file generated for nicegui on 2023-10-05T05:09:32+02:00
|
|
|
+#
|
|
|
+# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
|
+#
|
|
|
+
|
|
|
app = "nicegui"
|
|
|
-#app = "nicegui-preview"
|
|
|
+primary_region = "fra"
|
|
|
kill_signal = "SIGTERM"
|
|
|
-kill_timeout = 5
|
|
|
-processes = []
|
|
|
+kill_timeout = "5s"
|
|
|
+
|
|
|
+[experimental]
|
|
|
+ auto_rollback = true
|
|
|
|
|
|
[build]
|
|
|
dockerfile = "fly.dockerfile"
|
|
|
|
|
|
-[env]
|
|
|
-
|
|
|
[deploy]
|
|
|
-strategy = "bluegreen"
|
|
|
-
|
|
|
+ strategy = "bluegreen"
|
|
|
|
|
|
-[experimental]
|
|
|
- allowed_public_ports = []
|
|
|
- auto_rollback = true
|
|
|
+[processes]
|
|
|
+ app = ""
|
|
|
|
|
|
[[services]]
|
|
|
+ protocol = "tcp"
|
|
|
internal_port = 8080
|
|
|
processes = ["app"]
|
|
|
- protocol = "tcp"
|
|
|
- script_checks = []
|
|
|
- [services.concurrency]
|
|
|
- hard_limit = 150
|
|
|
- soft_limit = 80
|
|
|
- type = "connections"
|
|
|
|
|
|
[[services.ports]]
|
|
|
- force_https = true
|
|
|
- handlers = ["http"]
|
|
|
port = 80
|
|
|
+ handlers = ["http"]
|
|
|
+ force_https = true
|
|
|
|
|
|
[[services.ports]]
|
|
|
- handlers = ["tls", "http"]
|
|
|
port = 443
|
|
|
+ handlers = ["tls", "http"]
|
|
|
+ [services.concurrency]
|
|
|
+ type = "connections"
|
|
|
+ hard_limit = 150
|
|
|
+ soft_limit = 80
|
|
|
|
|
|
[[services.tcp_checks]]
|
|
|
interval = "10s"
|
|
|
- grace_period = "30s"
|
|
|
- restart_limit = 3
|
|
|
timeout = "5s"
|
|
|
+ grace_period = "30s"
|
|
|
|
|
|
[[services.http_checks]]
|
|
|
interval = "20s"
|
|
|
- grace_period = "1m"
|
|
|
+ timeout = "10s"
|
|
|
+ grace_period = "1m0s"
|
|
|
method = "get"
|
|
|
path = "/"
|
|
|
protocol = "http"
|
|
|
- restart_limit = 3
|
|
|
- timeout = "10s"
|
|
|
tls_skip_verify = false
|
|
|
- [services.http_checks.headers]
|
|
|
|
|
|
- [metrics]
|
|
|
+[[metrics]]
|
|
|
port = 9062
|
|
|
- path = "/metrics" # default for most prometheus clients
|
|
|
+ path = "/metrics"
|