mirror of
https://github.com/owenthereal/jqplay.git
synced 2025-04-19 06:02:17 +03:00
37 lines
558 B
TOML
37 lines
558 B
TOML
app = "jqplay-org"
|
|
kill_signal = "SIGINT"
|
|
kill_timeout = "5s"
|
|
|
|
[experimental]
|
|
auto_rollback = true
|
|
|
|
[build]
|
|
dockerfile = "Dockerfile"
|
|
|
|
[env]
|
|
GIN_MODE = "release"
|
|
|
|
[[services]]
|
|
protocol = "tcp"
|
|
internal_port = 8080
|
|
auto_stop_machines = false
|
|
auto_start_machines = true
|
|
min_machines_running = 2
|
|
processes = ["app"]
|
|
|
|
[[services.ports]]
|
|
port = 80
|
|
handlers = ["http"]
|
|
|
|
[[services.ports]]
|
|
port = 443
|
|
handlers = ["tls", "http"]
|
|
[services.concurrency]
|
|
type = "connections"
|
|
hard_limit = 2500
|
|
soft_limit = 2000
|
|
|
|
[[services.tcp_checks]]
|
|
interval = "15s"
|
|
timeout = "2s"
|