From 253d247087c0d703e30d887178cd3648dc3990db Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 6 Nov 2022 17:59:59 -0600 Subject: [PATCH] fly.io --- .dockerignore | 2 ++ fly.toml | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .dockerignore create mode 100644 fly.toml diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..9adf4cc --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +# flyctl launch added from .gitignore +**/*.pyc diff --git a/fly.toml b/fly.toml new file mode 100644 index 0000000..aff19c7 --- /dev/null +++ b/fly.toml @@ -0,0 +1,42 @@ +# fly.toml file generated for yoyodyne-propulsion on 2022-11-06T17:47:14-06:00 + +app = "yoyodyne-propulsion" +kill_signal = "SIGINT" +kill_timeout = 5 +processes = [] + +[build] + builder = "paketobuildpacks/builder:base" + +[env] + PORT = "8080" + +[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"