Skip to content

Commit

Permalink
reset fly toml
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Jan 12, 2024
1 parent 43851e3 commit 23ebe1f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 27 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ Cargo.lock
# Added by cargo

/target
dist
/.smoltable_data
43 changes: 16 additions & 27 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,52 +1,41 @@
# fly.toml app configuration file generated for smoltable-1 on 2024-01-12T14:56:54+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
# fly.toml file generated for smoltable-1 on 2023-12-05T15:51:17+01:00

app = "smoltable-1"
primary_region = "ams"
kill_signal = "SIGINT"
kill_timeout = "5s"
kill_timeout = 5
processes = []

[build]
dockerfile = "Dockerfile.alpine"

[env]
PORT = "8080"
RUST_LOG = "debug"
SMOLTABLE_DATA = "/data"

[[mounts]]
source = "smoldata"
destination = "/data"
initial_size = "3gb"
processes = ["disk"]
initial_size = "3gb"
auto_extend_size_threshold = 90
auto_extend_size_increment = "1GB"
auto_extend_size_limit = "50GB"

[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[env]
RUST_LOG = "debug"
PORT = "8080"
SMOLTABLE_DATA = "/data"

[[services]]
protocol = "tcp"
internal_port = 8080
processes = ["app"]
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"

[[services.ports]]
port = 80
handlers = ["http"]
force_https = true
handlers = ["http"]
port = 80

[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
port = 443

0 comments on commit 23ebe1f

Please sign in to comment.