# fly.toml app configuration file generated for spazio-solazzo on 2026-01-13T12:30:59+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'spazio-solazzo'
primary_region = 'ams'
kill_signal = 'SIGTERM'

[build]
dockerfile = "Dockerfile"

[deploy]
release_command = '/app/bin/migrate'
wait_timeout = "10m"

[env]
PHX_HOST = 'spaziosolazzo.mojocohouse.com'
PORT = '8080'

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

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

[[vm]]
memory = '1024mb'
cpus = 1
memory_mb = 1024
