Fly.io 部署
在 Fly.io 上部署 OpenClaw。
前提条件
- Fly.io 账号
- flyctl CLI
部署步骤
1. 初始化
bash
fly launch2. 配置 fly.toml
toml
app = "openclaw-docs"
primary_region = "hkg"
[build]
[http_service]
internal_port = 8080
force_https = true
[[vm]]
size = "shared-cpu-1x"
memory = "1gb"
cpus = 13. 部署
bash
fly deploy域名配置
bash
# 添加自定义域名
fly certs add docs.your-domain.com
# 查看证书
fly certs list资源监控
bash
fly logs
fly status