2022-11-14 20:28:32 +03:00
|
|
|
app = "pgweb-demo"
|
|
|
|
kill_signal = "SIGINT"
|
|
|
|
kill_timeout = 5
|
|
|
|
|
|
|
|
[processes]
|
2023-04-04 23:43:30 +03:00
|
|
|
web = "pgweb --sessions --bind=0.0.0.0 --metrics --idle-timeout=30"
|
2022-11-14 20:28:32 +03:00
|
|
|
|
|
|
|
[[services]]
|
|
|
|
http_checks = []
|
|
|
|
internal_port = 8081
|
|
|
|
processes = ["web"]
|
|
|
|
protocol = "tcp"
|
|
|
|
script_checks = []
|
2022-12-19 22:39:36 +03:00
|
|
|
|
2022-11-14 20:28:32 +03:00
|
|
|
[services.concurrency]
|
|
|
|
hard_limit = 25
|
|
|
|
soft_limit = 20
|
|
|
|
type = "connections"
|
|
|
|
|
|
|
|
[[services.ports]]
|
|
|
|
force_https = true
|
|
|
|
handlers = ["http"]
|
|
|
|
port = 80
|
|
|
|
|
|
|
|
[[services.ports]]
|
|
|
|
handlers = ["tls", "http"]
|
|
|
|
port = 443
|
|
|
|
|
|
|
|
[[services.tcp_checks]]
|
|
|
|
grace_period = "1s"
|
|
|
|
interval = "15s"
|
|
|
|
restart_limit = 0
|
|
|
|
timeout = "2s"
|
2022-12-26 00:06:26 +03:00
|
|
|
|
|
|
|
[metrics]
|
|
|
|
port = 8081
|
|
|
|
path = "/metrics"
|