34 lines
685 B
TOML
34 lines
685 B
TOML
# Flawd - Clawdbot Fly.io demo deployment
|
|
# See https://fly.io/docs/reference/configuration/
|
|
|
|
app = "flawd-bot"
|
|
primary_region = "lhr"
|
|
|
|
[build]
|
|
dockerfile = "Dockerfile"
|
|
|
|
[env]
|
|
NODE_ENV = "production"
|
|
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]
|
|
internal_port = 3000
|
|
force_https = true
|
|
auto_stop_machines = false
|
|
auto_start_machines = true
|
|
min_machines_running = 1
|
|
processes = ["app"]
|
|
|
|
[[vm]]
|
|
size = "shared-cpu-2x"
|
|
memory = "2048mb"
|
|
|
|
[mounts]
|
|
source = "clawdbot_data"
|
|
destination = "/data"
|