Skip to content

Commit

Permalink
Update fly.toml to fly.io apps v2
Browse files Browse the repository at this point in the history
  • Loading branch information
anirbanmu committed Mar 16, 2024
1 parent 6c8fcd9 commit 3f42dd3
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -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 = "<APP-NAME>"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
app = '<APP-NAME>'
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'

0 comments on commit 3f42dd3

Please sign in to comment.