diff --git a/fly.toml b/fly.toml index 083a5da..38ac15e 100644 --- a/fly.toml +++ b/fly.toml @@ -1,51 +1,51 @@ -# fly.toml file generated for vizl on 2022-08-28T13:19:07-07:00 +# fly.toml app configuration file generated for vizl on 2024-03-16T12:32:59-07:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# -app = "" -kill_signal = "SIGINT" -kill_timeout = 5 -processes = [] +app = '' +primary_region = 'sjc' +kill_signal = 'SIGINT' +kill_timeout = '5s' + +[experimental] + auto_rollback = true [build] - dockerfile = "Dockerfile" + dockerfile = 'Dockerfile' [env] - PORT = "8080" - NODE_ENV = "production" - -[experimental] - allowed_public_ports = [] - auto_rollback = true + NODE_ENV = 'production' + PORT = '8080' [[services]] - http_checks = [] + protocol = 'tcp' internal_port = 8080 - processes = ["app"] - protocol = "tcp" - script_checks = [] - [services.concurrency] - hard_limit = 25 - soft_limit = 20 - type = "connections" + processes = ['app'] - [[services.ports]] - force_https = true - handlers = ["http"] +[[services.ports]] port = 80 + handlers = ['http'] + force_https = true - [[services.ports]] - handlers = ["tls", "http"] +[[services.ports]] port = 443 + handlers = ['tls', 'http'] + + [services.concurrency] + type = 'connections' + hard_limit = 25 + soft_limit = 20 - [[services.tcp_checks]] - grace_period = "1s" - interval = "15s" - restart_limit = 0 - timeout = "2s" +[[services.tcp_checks]] + interval = '15s' + timeout = '2s' + grace_period = '1s' - [[statics]] - guest_path = "/dist/build" - url_prefix = "/build" +[[statics]] + guest_path = '/dist/build' + url_prefix = '/build' - [[statics]] - guest_path = "/dist/static" - url_prefix = "/static" +[[statics]] + guest_path = '/dist/static' + url_prefix = '/static'