/ fly.toml
fly.toml
 1  app = "swarmclaw"
 2  primary_region = "iad"
 3  
 4  [build]
 5  image = "ghcr.io/swarmclawai/swarmclaw:latest"
 6  
 7  [env]
 8  NODE_ENV = "production"
 9  PORT = "3456"
10  OTEL_SERVICE_NAME = "swarmclaw"
11  
12  [http_service]
13  internal_port = 3456
14  force_https = true
15  auto_stop_machines = false
16  auto_start_machines = true
17  min_machines_running = 1
18  
19  [mounts]
20  source = "swarmclaw_data"
21  destination = "/app/data"
22  
23  [checks.health]
24  type = "http"
25  port = 3456
26  path = "/api/healthz"
27  interval = "15s"
28  timeout = "5s"
29  
30  [[vm]]
31  memory = "2048mb"
32  cpu_kind = "shared"
33  cpus = 2