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