Skip to content

Instantly share code, notes, and snippets.

@iksaku
Created December 31, 2022 20:41
Show Gist options
  • Save iksaku/e4acd0f3c97b58855aa38a26bb166ad3 to your computer and use it in GitHub Desktop.
Save iksaku/e4acd0f3c97b58855aa38a26bb166ad3 to your computer and use it in GitHub Desktop.

ActualBudget @ Fly.io

Configuration file for deploying ActualBudget Server to Fly.io.

Set up

  1. Create a new volume called actualbudget_data in the same region you want to deploy your application.

That's it! Deploy now :)

app = "<insert your app unique name here>"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
image = "jlongster/actual-server:latest-alpine"
[mounts]
source = "actualbudget_data"
destination = "/data"
[env]
PORT = "5006"
TINI_SUBREAPER = 1
[experimental]
allowed_public_ports = []
auto_rollback = true
cmd = ["node", "--max-old-space-size=180", "app.js"]
[[services]]
http_checks = []
internal_port = 5006
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "10s"
interval = "15s"
restart_limit = 0
timeout = "2s"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment