Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 16 additions & 27 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
# OpenClaw Fly.io deployment configuration
# See https://fly.io/docs/reference/configuration/
# fly.toml app configuration file generated for openclaw-gw on 2026-03-01T22:57:05Z
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "openclaw"
primary_region = "iad" # change to your closest region
app = 'openclaw-gw'
primary_region = 'lax'

[build]
dockerfile = "Dockerfile"

[env]
NODE_ENV = "production"
# Fly uses x86, but keep this for consistency
OPENCLAW_PREFER_PNPM = "1"
OPENCLAW_STATE_DIR = "/data"
NODE_OPTIONS = "--max-old-space-size=1536"

[processes]
app = "node dist/index.js gateway --allow-unconfigured --port 3000 --bind lan"

[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
processes = ["app"]
internal_port = 18789
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']

[[vm]]
size = "shared-cpu-2x"
memory = "2048mb"

[mounts]
source = "openclaw_data"
destination = "/data"
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
memory_mb = 2048
Loading