diff --git a/fly.toml b/fly.toml index b40ffa3..9e99d6a 100644 --- a/fly.toml +++ b/fly.toml @@ -1,18 +1,23 @@ -app = "voicebbs" +# fly.toml app configuration file generated for voicebbs on 2025-04-26T14:54:17Z +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# -kill_signal = "SIGINT" -kill_timeout = 5 +app = 'voicebbs' +primary_region = 'den' -[env] +[build] -[[services]] +[http_service] internal_port = 8080 - protocol = "tcp" + force_https = true + auto_stop_machines = 'stop' + auto_start_machines = true + min_machines_running = 0 + processes = ['app'] - [[services.ports]] - handlers = ["http"] - port = 80 - - [[services.ports]] - handlers = ["tls", "http"] - port = 443 \ No newline at end of file +[[vm]] + memory = '1gb' + cpu_kind = 'shared' + cpus = 1 + memory_mb = 1024