39 lines
751 B
TOML
39 lines
751 B
TOML
# fly.toml app configuration file generated for template-snake-api on 2025-04-30T12:40:47-07:00
|
|
#
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
#
|
|
|
|
app = 'snake-api-template'
|
|
primary_region = 'sea'
|
|
kill_signal = 'SIGINT'
|
|
kill_timeout = '5s'
|
|
|
|
[build]
|
|
dockerfile = 'Dockerfile'
|
|
|
|
[http_service]
|
|
internal_port = 8000
|
|
force_https = true
|
|
auto_stop_machines = 'stop'
|
|
auto_start_machines = true
|
|
min_machines_running = 0
|
|
processes = ['app']
|
|
|
|
[[services]]
|
|
protocol = 'tcp'
|
|
internal_port = 8000
|
|
|
|
[[services.ports]]
|
|
port = 443
|
|
handlers = ['tls', 'http']
|
|
|
|
[[services.ports]]
|
|
port = 80
|
|
handlers = ['http']
|
|
|
|
[[vm]]
|
|
memory = '512mb'
|
|
cpu_kind = 'shared'
|
|
cpus = 1
|
|
|
|
[[metrics]]
|