4 releases

0.1.7 Jan 6, 2024
0.1.3 Jan 5, 2024
0.1.2 Jan 5, 2024
0.1.1 Jan 4, 2024

#21 in #fly

26 downloads per month

Apache-2.0

47KB
594 lines

aliver

第一次运行请用

fly apps create NAME

fly.io 默认会启动 2 台机器 , 但是我们只需要一台机器 , 所以要删掉一台

flyctl machine list
flyctl machine destory ID

其他配置参见 ./fly.toml

# fly.toml app configuration file generated for cname-flatten on 2023-12-30T22:33:47+08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "ii"
primary_region = "fra"

[build]

[http_service]
internal_port = 5123
force_https = true
auto_stop_machines = false
auto_start_machines = false
min_machines_running = 1
processes = ["app"]

[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 256

其他参见 https://crates.io/crates/alive

Dependencies

~56–77MB
~1.5M SLoC