From 57ef0ad41df9592367d2d92ee517f05481f77236 Mon Sep 17 00:00:00 2001 From: xiaoge1688 Date: Thu, 2 Apr 2026 20:37:54 +0800 Subject: [PATCH] chore(deploy): keep fork fly.toml --- fly.toml | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/fly.toml b/fly.toml index 4e0c017c..e1dea968 100644 --- a/fly.toml +++ b/fly.toml @@ -1,19 +1,32 @@ -# fly.toml app configuration file generated for miniroute on 2026-04-02T08:02:33Z +# fly.toml app configuration file generated for oroute on 2026-03-20T09:12:34Z # # See https://fly.io/docs/reference/configuration/ for information about how to use this file. # -app = 'miniroute' -primary_region = 'iad' +app = 'omniroute' +primary_region = 'sin' [build] +[processes] + app = 'node run-standalone.mjs' + +[deploy] +# release_command = "node ./dbsetup.js" + +[[mounts]] + source = 'data' + destination = '/data' + auto_extend_size_threshold = 80 + auto_extend_size_increment = '1GB' + auto_extend_size_limit = '10GB' + [http_service] internal_port = 20128 force_https = true auto_stop_machines = 'stop' auto_start_machines = true - min_machines_running = 0 + min_machines_running = 1 processes = ['app'] [[vm]] @@ -21,3 +34,11 @@ primary_region = 'iad' cpu_kind = 'shared' cpus = 1 memory_mb = 1024 + +[env] + TZ = "Asia/Shanghai" + + # Bind to all interfaces for Fly runtime networking. + HOST = "0.0.0.0" + HOSTNAME = "0.0.0.0" + BIND = "0.0.0.0"