chore(fly): update Flawd demo config
This commit is contained in:
parent
e083e49756
commit
3b924af44c
19
fly.toml
19
fly.toml
@ -1,27 +1,32 @@
|
|||||||
# Clawdbot Fly.io deployment configuration
|
# Flawd - Clawdbot Fly.io demo deployment
|
||||||
# See https://fly.io/docs/reference/configuration/
|
# See https://fly.io/docs/reference/configuration/
|
||||||
|
|
||||||
app = "clawdbot"
|
app = "flawd-bot"
|
||||||
primary_region = "lhr" # London
|
primary_region = "lhr"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
dockerfile = "Dockerfile"
|
dockerfile = "Dockerfile"
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
NODE_ENV = "production"
|
NODE_ENV = "production"
|
||||||
# Fly uses x86, but keep this for consistency
|
|
||||||
CLAWDBOT_PREFER_PNPM = "1"
|
CLAWDBOT_PREFER_PNPM = "1"
|
||||||
|
CLAWDBOT_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]
|
[http_service]
|
||||||
internal_port = 3000
|
internal_port = 3000
|
||||||
force_https = true
|
force_https = true
|
||||||
auto_stop_machines = false # Keep running for persistent connections
|
auto_stop_machines = false
|
||||||
auto_start_machines = true
|
auto_start_machines = true
|
||||||
min_machines_running = 1
|
min_machines_running = 1
|
||||||
|
processes = ["app"]
|
||||||
|
|
||||||
[[vm]]
|
[[vm]]
|
||||||
size = "shared-cpu-1x"
|
size = "shared-cpu-2x"
|
||||||
memory = "512mb"
|
memory = "2048mb"
|
||||||
|
|
||||||
[mounts]
|
[mounts]
|
||||||
source = "clawdbot_data"
|
source = "clawdbot_data"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user