berrypod/fly.toml
jamey e787f1f663
All checks were successful
deploy / deploy (push) Successful in 39s
disable auto-stop to prevent cold start latency
BEAM cold starts on shared-cpu-1x take ~15s, making the site
unusable after idle periods. Keep the single machine running.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 09:35:03 +00:00

42 lines
814 B
TOML

# fly.toml app configuration file generated for berrypod on 2026-02-08T20:51:20Z
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'berrypod'
primary_region = 'lhr'
[build]
dockerfile = 'Dockerfile'
[env]
DATABASE_PATH = '/data/berrypod.db'
PHX_SERVER = 'true'
[[mounts]]
source = 'berrypod_data'
destination = '/data'
[http_service]
internal_port = 4000
force_https = true
auto_stop_machines = 'off'
auto_start_machines = true
min_machines_running = 1
[http_service.concurrency]
type = 'connections'
hard_limit = 1000
soft_limit = 1000
[[http_service.checks]]
interval = '15s'
timeout = '5s'
grace_period = '30s'
method = 'GET'
path = '/health'
[[vm]]
size = 'shared-cpu-1x'
memory = '1gb'