Fly.toml
app = 'workflows-appname'
primary_region = 'syd'[build]
dockerfile = 'Dockerfile'
[env]
GENERIC_TIMEZONE = 'Region/City'
N8N_DIAGNOSTICS_ENABLED = 'false'
N8N_HIRING_BANNER_ENABLED = 'false'
N8N_HOST = 'workflows-appname.fly.dev'
N8N_PORT = '5678'
N8N_RUNNERS_ENABLED = 'true'
N8N_PROTOCOL= 'https'
TINI_SUBREAPER = 'true'
WEBHOOK_URL = 'https://workflows-appname.fly.dev'
[[mounts]]
source = 'n8n_data'
destination = '/home/node/.n8n'
[http_service]
internal_port = 5678
force_https = true
auto_start_machines = true
auto_stop_machines = true
min_machines_running = 1
processes = ['app']
[http_service.concurrency]
type = 'connections'
hard_limit = 100
soft_limit = 50
[[vm]]
cpu_kind = 'shared'
cpus = 2
memory_mb = 1024FROM n8nio/n8n:latestfly launch or fly deploy