31 lines
614 B
TOML
31 lines
614 B
TOML
|
|
# Fly.io config — dd0c/route Proxy Engine
|
||
|
|
app = "dd0c-route-proxy"
|
||
|
|
primary_region = "iad" # us-east (Virginia)
|
||
|
|
|
||
|
|
[build]
|
||
|
|
dockerfile = "Dockerfile.proxy"
|
||
|
|
|
||
|
|
[env]
|
||
|
|
RUST_LOG = "dd0c_route=info,tower_http=info"
|
||
|
|
PROXY_PORT = "8080"
|
||
|
|
AUTH_MODE = "local"
|
||
|
|
GOVERNANCE_MODE = "audit"
|
||
|
|
TELEMETRY_CHANNEL_SIZE = "1000"
|
||
|
|
|
||
|
|
[http_service]
|
||
|
|
internal_port = 8080
|
||
|
|
force_https = true
|
||
|
|
auto_stop_machines = true
|
||
|
|
auto_start_machines = true
|
||
|
|
min_machines_running = 1
|
||
|
|
|
||
|
|
[http_service.concurrency]
|
||
|
|
type = "requests"
|
||
|
|
hard_limit = 250
|
||
|
|
soft_limit = 200
|
||
|
|
|
||
|
|
[[vm]]
|
||
|
|
cpu_kind = "shared"
|
||
|
|
cpus = 1
|
||
|
|
memory_mb = 256
|