crimata-website/fly.toml
Andrew Gundersen fd2d498141 Add ActiveRecord, customer dashboard, separate DB architecture
- Re-enable ActiveRecord pointing at Neon Postgres
- Add Customer model with stripe_customer_id, email, slug, status
- Add dashboard controller and Apple ID-style device view
- Redirect checkout success to /dashboard
- Webhook now calls /instances, parses response, creates Customer in Rails DB
- Add MIT License

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 23:51:50 -05:00

42 lines
905 B
TOML

# fly.toml app configuration file generated for website-sparkling-tree-1684 on 2026-02-22T11:53:22-05:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'website-sparkling-tree-1684'
primary_region = 'iad'
console_command = '/rails/bin/rails console'
[build]
[deploy]
release_command = "./bin/rails db:migrate"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[http_service.checks]]
interval = '15s'
timeout = '10s'
grace_period = '30s'
method = 'GET'
path = '/'
protocol = 'http'
tls_skip_verify = false
[http_service.checks.headers]
X-Forwarded-Proto = 'https'
[[vm]]
memory = '1gb'
cpus = 1
memory_mb = 1024
[[statics]]
guest_path = '/rails/public'
url_prefix = '/'