1
0
mirror of https://github.com/owenthereal/jqplay.git synced 2025-04-19 06:02:17 +03:00

Don't auto_stop_machines

This commit is contained in:
Owen Ou 2024-01-10 22:53:42 -08:00
parent 40200e5d62
commit df0497e5d3
No known key found for this signature in database
GPG Key ID: 6CDA9490BEB1E446

View File

@ -3,34 +3,34 @@ kill_signal = "SIGINT"
kill_timeout = "5s"
[experimental]
auto_rollback = true
auto_rollback = true
[build]
dockerfile = "Dockerfile"
dockerfile = "Dockerfile"
[env]
GIN_MODE = "release"
GIN_MODE = "release"
[[services]]
protocol = "tcp"
internal_port = 8080
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 2
processes = ["app"]
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 = 80
handlers = ["http"]
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 2500
soft_limit = 2000
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 2500
soft_limit = 2000
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"