27 lines
617 B
TOML
27 lines
617 B
TOML
# fly.toml app configuration file generated for honcho on 2023-09-11T10:58:33-04:00
|
|
#
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
#
|
|
|
|
app = "honcho"
|
|
primary_region = "bos"
|
|
kill_signal = "SIGINT"
|
|
kill_timeout = "5s"
|
|
|
|
[experimental]
|
|
auto_rollback = true
|
|
|
|
[processes]
|
|
api = "python -m uvicorn main:app --host 0.0.0.0 --port 8000"
|
|
|
|
[http_service]
|
|
internal_port = 8000
|
|
auto_stop_machines = true
|
|
auto_start_machines = true
|
|
min_machines_running = 1
|
|
processes = ["api"]
|
|
[http_service.concurrency]
|
|
type = "requests"
|
|
soft_limit = 200
|
|
hard_limit = 250
|