37 lines
734 B
TOML
37 lines
734 B
TOML
# fly.toml app configuration file generated for postland on 2024-09-25T19:39:34-05:00
|
|
#
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
#
|
|
|
|
app = 'postland'
|
|
primary_region = 'dfw'
|
|
kill_signal = 'SIGTERM'
|
|
|
|
[build]
|
|
|
|
[env]
|
|
DATABASE_PATH = '/mnt/name/name.db'
|
|
PHX_HOST = 'postland.fly.dev'
|
|
PORT = '8080'
|
|
|
|
[[mounts]]
|
|
source = 'name'
|
|
destination = '/mnt/name'
|
|
|
|
[http_service]
|
|
internal_port = 8080
|
|
force_https = true
|
|
auto_stop_machines = false
|
|
auto_start_machines = true
|
|
min_machines_running = 1
|
|
processes = ['app']
|
|
|
|
[http_service.concurrency]
|
|
type = 'connections'
|
|
hard_limit = 1000
|
|
soft_limit = 1000
|
|
|
|
[[vm]]
|
|
memory = '1gb'
|
|
cpu_kind = 'shared'
|
|
cpus = 1
|