aliver

Crates.ioaliver
lib.rsaliver
version0.1.7
sourcesrc
created_at2024-01-04 23:56:24.556218
updated_at2024-01-06 01:49:19.586194
descriptionaliver
homepagehttps://github.com/3TiSite/rust/tree/main/aliver
repositoryhttps://github.com/3TiSite/rust.git
max_upload_size
id1089142
size117,607
(3tieto)

documentation

README

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

Commit count: 1

cargo fmt