Skip to content

Commit 631e646

Browse files
committed
add actual service
1 parent 5c93778 commit 631e646

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

actual/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Actual on Fly.io
2+
3+
[Actual](https://github.com/actualbudget/actual) is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting.

actual/fly.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# app = 'actual'
2+
primary_region = 'sjc'
3+
4+
[experimental]
5+
cmd = ['node', '--max-old-space-size=180', 'app.js']
6+
7+
[build]
8+
image = 'actualbudget/actual-server:latest'
9+
10+
[env]
11+
PORT = '5006'
12+
TINI_SUBREAPER = '1'
13+
14+
[[mounts]]
15+
source = 'actual_data'
16+
destination = '/data'
17+
initial_size = '1g'
18+
19+
[http_service]
20+
internal_port = 5006
21+
force_https = true
22+
auto_stop_machines = 'stop'
23+
auto_start_machines = true
24+
min_machines_running = 0
25+
26+
[[http_service.checks]]
27+
interval = '15s'
28+
timeout = '2s'
29+
grace_period = '10s'
30+
method = 'GET'
31+
path = '/'
32+
33+
[[vm]]
34+
cpu_kind = 'shared'
35+
cpus = 1
36+
memory_mb = 256

0 commit comments

Comments
 (0)