Created
April 16, 2025 15:43
-
-
Save tomsiwik/c76c8308874a5975632e6539cb1e38d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app = 'yourapp' | |
primary_region = 'fra' | |
[[vm]] | |
memory = '1gb' | |
cpu_kind = 'shared' | |
cpus = 1 | |
[build] | |
image = "n8nio/n8n:latest" | |
[env] | |
N8N_USER_FOLDER = "/home/node" | |
N8N_HOST = "yourdomain.fly.dev" | |
N8N_PORT = '8080' | |
N8N_PROTOCOL = 'https' | |
N8N_EDITOR_BASE_URL = "https://yourapp.fly.dev" | |
WEBHOOK_URL = "https://yourapp.fly.dev" | |
EXECUTIONS_DATA_PRUNE = true | |
EXECUTIONS_DATA_MAX_AGE = 720 | |
[experimental] | |
auto_rollback = true | |
[[services]] | |
internal_port = 8080 | |
processes = ["app"] | |
protocol = "tcp" | |
[services.concurrency] | |
type = "connections" | |
hard_limit = 120 | |
soft_limit = 100 | |
[[services.ports]] | |
port = 443 | |
handlers = ["tls", "http"] | |
tls_options = { versions = ["TLSv1.2", "TLSv1.3"] } | |
[[services.tcp_checks]] | |
grace_period = "1s" | |
interval = "15s" | |
restart_limit = 0 | |
timeout = "2s" | |
[mounts] | |
source = "yourapp_data" | |
destination = "/home/node" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment