Merge pull request #2 from xiaoge1688/flyio-new-files
Fly.io Launch config files
This commit is contained in:
@@ -1,32 +1,19 @@
|
||||
# fly.toml app configuration file generated for oroute on 2026-03-20T09:12:34Z
|
||||
# fly.toml app configuration file generated for mniroute on 2026-04-02T03:24:43Z
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = 'groute'
|
||||
app = 'mniroute'
|
||||
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
|
||||
internal_port = 8080
|
||||
force_https = true
|
||||
auto_stop_machines = 'stop'
|
||||
auto_start_machines = true
|
||||
min_machines_running = 1
|
||||
min_machines_running = 0
|
||||
processes = ['app']
|
||||
|
||||
[[vm]]
|
||||
@@ -34,11 +21,3 @@ primary_region = 'sin'
|
||||
cpu_kind = 'shared'
|
||||
cpus = 1
|
||||
memory_mb = 1024
|
||||
|
||||
[env]
|
||||
TZ = "Asia/Shanghai"
|
||||
|
||||
# === 新增以下这三行,强行让程序监听所有外部 IP ===
|
||||
HOST = "0.0.0.0"
|
||||
HOSTNAME = "0.0.0.0"
|
||||
BIND = "0.0.0.0"
|
||||
|
||||
Reference in New Issue
Block a user