app = 'gridstamp-mcp'
primary_region = 'dfw'

[build]

[env]
  PORT = '3201'
  NODE_ENV = 'production'
  GRIDSTAMP_PERSIST_DIR = '/data'
  PORTAL_URL = 'https://getbizsuite.com'
  REQUIRE_AUTH = 'true'

[mounts]
  source = 'gridstamp_data'
  destination = '/data'

[http_service]
  internal_port = 3201
  force_https = true
  auto_stop_machines = 'stop'
  auto_start_machines = true
  min_machines_running = 0

[[http_service.checks]]
  grace_period = '10s'
  interval = '30s'
  method = 'GET'
  path = '/health'
  timeout = '5s'

[[vm]]
  memory = '256mb'
  cpu_kind = 'shared'
  cpus = 1
