-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e4e0fa
commit 9449cf0
Showing
1 changed file
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,57 @@ | ||
# fly.toml file generated for upterm on 2022-06-27T11:01:32-07:00 | ||
# fly.toml app configuration file generated for upterm on 2023-09-17T09:40:01-07:00 | ||
# | ||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file. | ||
# | ||
|
||
app = "upterm" | ||
kill_signal = "SIGINT" | ||
kill_timeout = 5 | ||
processes = [] | ||
|
||
[build] | ||
dockerfile = "Dockerfile.uptermd" | ||
kill_timeout = "5s" | ||
|
||
[experimental] | ||
cmd = ["uptermd --ssh-addr 0.0.0.0:2222 --ws-addr 0.0.0.0:8080 --node-addr $(echo ${FLY_ALLOC_ID} | cut -f1 -d '-').vm.${FLY_APP_NAME}.internal:2222 --hostname uptermd.upterm.dev"] | ||
entrypoint = ["/bin/sh", "-c"] | ||
allowed_public_ports = [] | ||
auto_rollback = true | ||
|
||
[build] | ||
dockerfile = "Dockerfile.uptermd" | ||
|
||
[[services]] | ||
protocol = "tcp" | ||
internal_port = 2222 | ||
auto_stop_machines = true | ||
auto_start_machines = true | ||
min_machines_running = 3 | ||
processes = ["app"] | ||
protocol = "tcp" | ||
|
||
[[services.ports]] | ||
port = 22 | ||
[services.concurrency] | ||
type = "connections" | ||
hard_limit = 2500 | ||
soft_limit = 2000 | ||
type = "connections" | ||
|
||
[[services.ports]] | ||
port = 22 | ||
|
||
[[services.tcp_checks]] | ||
grace_period = "5s" | ||
interval = "15s" | ||
restart_limit = 0 | ||
timeout = "2s" | ||
grace_period = "5s" | ||
|
||
[[services]] | ||
protocol = "tcp" | ||
internal_port = 8080 | ||
auto_stop_machines = true | ||
auto_start_machines = true | ||
min_machines_running = 3 | ||
processes = ["app"] | ||
protocol = "tcp" | ||
|
||
[services.concurrency] | ||
hard_limit = 2500 | ||
soft_limit = 2000 | ||
type = "connections" | ||
|
||
[[services.ports]] | ||
handlers = ["http"] | ||
port = 80 | ||
handlers = ["http"] | ||
force_https = true | ||
|
||
[[services.ports]] | ||
handlers = ["tls", "http"] | ||
port = 443 | ||
handlers = ["tls", "http"] | ||
[services.concurrency] | ||
type = "connections" | ||
hard_limit = 2500 | ||
soft_limit = 2000 |