Crates.io | aliver |
lib.rs | aliver |
version | 0.1.7 |
source | src |
created_at | 2024-01-04 23:56:24.556218 |
updated_at | 2024-01-06 01:49:19.586194 |
description | aliver |
homepage | https://github.com/3TiSite/rust/tree/main/aliver |
repository | https://github.com/3TiSite/rust.git |
max_upload_size | |
id | 1089142 |
size | 117,607 |
第一次运行请用
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