35 lines
517 B
TOML
35 lines
517 B
TOML
app = "dzmedia"
|
|
|
|
kill_signal = "SIGINT"
|
|
kill_timeout = 5
|
|
|
|
[experimental]
|
|
# required because we can't infer your binary's name
|
|
cmd = "./dzmedia"
|
|
|
|
[env]
|
|
PORT = "8080"
|
|
RUST_LOG = "actix_web=info"
|
|
|
|
[[services]]
|
|
internal_port = 8080
|
|
protocol = "tcp"
|
|
|
|
[services.concurrency]
|
|
hard_limit = 25
|
|
soft_limit = 20
|
|
|
|
[[services.ports]]
|
|
handlers = ["http"]
|
|
port = 80
|
|
|
|
[[services.ports]]
|
|
handlers = ["tls", "http"]
|
|
port = 443
|
|
|
|
[[services.tcp_checks]]
|
|
grace_period = "1s"
|
|
interval = "15s"
|
|
port = "8080"
|
|
restart_limit = 6
|
|
timeout = "2s" |