- Add fly.toml configuration for Fly.io deployment - Add docs/platforms/fly.md with deployment guide - Uses London (lhr) region by default - Includes persistent volume for data storage
29 lines
593 B
TOML
29 lines
593 B
TOML
# Clawdbot Fly.io deployment configuration
|
|
# See https://fly.io/docs/reference/configuration/
|
|
|
|
app = "clawdbot"
|
|
primary_region = "lhr" # London
|
|
|
|
[build]
|
|
dockerfile = "Dockerfile"
|
|
|
|
[env]
|
|
NODE_ENV = "production"
|
|
# Fly uses x86, but keep this for consistency
|
|
CLAWDBOT_PREFER_PNPM = "1"
|
|
|
|
[http_service]
|
|
internal_port = 3000
|
|
force_https = true
|
|
auto_stop_machines = false # Keep running for persistent connections
|
|
auto_start_machines = true
|
|
min_machines_running = 1
|
|
|
|
[[vm]]
|
|
size = "shared-cpu-1x"
|
|
memory = "512mb"
|
|
|
|
[mounts]
|
|
source = "clawdbot_data"
|
|
destination = "/data"
|