Browse Source

fly deployment of 0.9 legacy docs

Rodja Trappe 2 years ago
parent
commit
935179f5a1
2 changed files with 57 additions and 0 deletions
  1. 16 0
      .dockerignore
  2. 41 0
      fly.toml

+ 16 - 0
.dockerignore

@@ -0,0 +1,16 @@
+# flyctl launch added from .gitignore
+**/__pycache__
+**/*.egg-info
+**/.*.swp
+**/dist
+test.py
+**/*.pickle
+**/tests/screenshots
+
+# flyctl launch added from .pytest_cache/.gitignore
+# Created by pytest automatically.
+.pytest_cache/**/*
+
+# flyctl launch added from tests/.pytest_cache/.gitignore
+# Created by pytest automatically.
+tests/.pytest_cache/**/*

+ 41 - 0
fly.toml

@@ -0,0 +1,41 @@
+# fly.toml file generated for nicegui-0-9 on 2022-12-12T19:52:01+01:00
+
+app = "nicegui-0-9"
+kill_signal = "SIGINT"
+kill_timeout = 5
+processes = []
+
+[env]
+
+[build]
+  image = "zauberzeug/nicegui:0.9.25"
+
+[experimental]
+  allowed_public_ports = []
+  auto_rollback = true
+
+[[services]]
+  http_checks = []
+  internal_port = 8080
+  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"