Operand

code is hell.

gram: pain

> ./fly.toml

Lenses
(coming soon!)


# fly.toml app configuration file generated for pain on 2025-08-29T15:56:48-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'pain'
primary_region = 'ewr'
kill_signal = 'SIGTERM'

[build]

[deploy]
  release_command = '/app/bin/migrate'

[env]
  PHX_HOST = 'book.painawayofphilly.com'
  DOMAIN = 'book.painawayofphilly.com'

[http_service]
  internal_port = 8080
  force_https = true
  auto_stop_machines = 'stop'
  auto_start_machines = true
  min_machines_running = 0
  processes = ['app']

  [http_service.concurrency]
    type = 'connections'
    hard_limit = 1000
    soft_limit = 1000

[[services]]
  [[services.ports]]
    handlers = ["http", "tls"]
    port = "443"

  [[services.ports]]
    handlers = ["http"]
    port = "80"

[[vm]]
  memory = '2gb'
  cpu_kind = 'shared'
  cpus = 1