Advertisement

← refacto-feature-scout

fly.toml

1.1 KB Download file
# Feature Scout — always-on machine: cron, plus the review page on a private link.
# Deploy: `fly deploy --remote-only`.
app = "feature-scout-CHANGE-ME"   # your Fly app name
primary_region = "iad"

[build]
  dockerfile = "Dockerfile"

[env]
  SCOUT_CLOUD = "1"
  SCOUT_DATA_DIR = "/data/scout"
  SCOUT_REPO_ROOT = "/data/repos"
  SCOUT_PROJECTS_FILE = "/app/cloud/projects.json"
  SCOUT_REVIEW_URL = "https://feature-scout-CHANGE-ME.fly.dev"
  SCOUT_KICK_CMD = "/app/cloud/job.sh poll 10800"
  HOME = "/root"
  TZ = "UTC"

# The review page. The machine is always on for cron anyway, so nothing is autostopped.
[http_service]
  internal_port = 8080
  force_https = true
  auto_stop_machines = false
  auto_start_machines = false
  min_machines_running = 1

[[mounts]]
  source = "scout_data"
  destination = "/data"

[[vm]]
  size = "shared-cpu-2x"
  # 4GB, not 2: a build runs a Claude session and the project's own test suite at once, and on
  # 2GB the machine ran out of memory, killed processes, and could not serve the review page.
  memory = "4gb"