From 935179f5a18643840ac6bb413c60ed025e456594 Mon Sep 17 00:00:00 2001 From: Rodja Trappe Date: Tue, 13 Dec 2022 04:35:00 +0100 Subject: [PATCH] fly deployment of 0.9 legacy docs --- .dockerignore | 16 ++++++++++++++++ fly.toml | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 .dockerignore create mode 100644 fly.toml diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..60fcdf16b --- /dev/null +++ b/.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/**/* diff --git a/fly.toml b/fly.toml new file mode 100644 index 000000000..03cdd7c98 --- /dev/null +++ b/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"