Guide

How to Self-Host Actual Budget With Docker or One Click (2026)

11 min read
How to self-host Actual Budget with Docker or one click
Summarize with:
Share:

The simplest Actual Budget Docker setup is one container from the official actualbudget/actual-server image, one data folder mounted at /data, and port 5006. Put NGINX and an SSL certificate in front, open the address once to set your server password, and your household has a private budgeting app.

That is the first evening. What decides whether it lasts is later: HTTPS that does not break the app, a password nobody else set first, and a backup you have actually restored.

This guide covers both paths. First the Docker Compose way on any Ubuntu server, step by step, then the one-click way on xCloud, with what each leaves on your plate. If containers are new to you, start with what Docker Compose is.

How we wrote this: the Compose file, settings, NGINX block and problem list come from Actual’s own docs, its GitHub repository and NGINX’s docs, as of November 2026. The xCloud details come from xCloud’s Actual Budget template and its server setup. We did not run the manual Compose and NGINX steps on a test server for this guide, so check them against Actual’s docs for your version.

Who does each Actual Budget job: Docker Compose by hand vs one-click on xCloud

TL;DR

  • Actual Budget is a free, open-source envelope-budgeting app (MIT licence, as of November 2026). It is local-first: each device keeps a copy and syncs through your server.
  • Requirements are small: one container, no database container, and 512 MB of RAM, 1 CPU core and 2 GB of disk as a floor.
  • Docker path: pin a version in docker-compose.yml, make port 5006 reachable only through your domain, not by server IP and port (bind it to 127.0.0.1), run docker compose up -d, then put NGINX and HTTPS in front.
  • HTTPS is not optional. Actual needs a secure page to run its database in the browser, and duplicate headers from a hand-written proxy cause a SharedArrayBufferMissing error.
  • Set the server password first. Until you do, whoever opens the address first can set it.
  • One-click path: pick Actual Budget in xCloud’s One Click Apps, choose a server and a domain, and click Next. There are no app fields to fill in.
  • Either way, back up the whole /data volume, export each budget now and then, and test a restore once.

Four Problems to Avoid on a New Actual Budget Install

Most Actual Budget guides stop at docker compose up. These four problems come from Actual’s docs, xCloud’s template notes and NGINX’s defaults:

Problem What you see Why it happens The fix
No HTTPS The app does not load and shows a SharedArrayBufferMissing error Actual’s database runs in the browser, and Actual’s docs say it must be served over HTTPS for that to work Put a reverse proxy with an SSL certificate in front, or use a tool that gives you HTTPS
Headers sent twice A SharedArrayBufferMissing error Actual sends Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy itself; a proxy that adds them again sends two copies Hide the app’s copies in NGINX before adding your own (proxy_hide_header), or add none
Unclaimed setup screen Someone else sets the server password before you do The setup screen has no login until a password is set, so anyone who reaches it can set one Set the password the moment the container is up, before you share or publish the address
Small upload limit Large budgets fail to sync or import NGINX accepts 1 MB request bodies by default; Actual’s own default limits are 20 MB, and 50 MB for encrypted budgets (as of November 2026) Raise client_max_body_size in NGINX to at least 50 MB

On xCloud, the NGINX in front of the app does not add those two headers, so the browser gets Actual’s own copy once, and it accepts uploads up to 100 MB. The password step is still yours, on both paths.

What Actual Budget Is and When Self-Hosting It Makes Sense

Actual Budget is a personal finance app built around envelope budgeting: you give every dollar you have a job before you spend it. It has accounts, transactions, rules that sort imported transactions, scheduled payments and reports.

It is local-first. Your browser or the desktop app keeps a full copy of the budget, and the server keeps devices in sync. Optional end-to-end encryption protects the synced budget with a second password, different from the server password.

Self-hosting makes sense when you want your budget on a server you control instead of inside a hosted budgeting service. It is a light app, so it fits beside other household apps, like Mealie for recipes or Vaultwarden for passwords.

What You Need to Self-Host Actual Budget

The RAM, CPU and disk minimums come from xCloud’s Actual Budget template; the image details come from Actual’s Docker install guide:

Item What you need Why
Server Any 64-bit Linux that runs Docker, for example Ubuntu 24.04 Actual’s docs list a latest-alpine image variant for low-powered devices
RAM 512 MB minimum Actual’s server is a light Node.js app
CPU 1 core Syncing a budget is light work
Disk 2 GB to start, more for history and kept backups Budget files and backups grow over time
Database None to run Actual stores everything in SQLite files under /data
Port Container port 5006 Everything else goes through your domain
Domain + HTTPS A subdomain such as budget.example.com with a certificate Actual’s docs say it must be served over HTTPS to run in the browser

Option 1: Self-Host Actual Budget With Docker Compose

These steps follow Actual’s official Compose file and reverse proxy guide as of v26.11.0 (November 2026). Here is how to do it on a fresh Ubuntu server you can reach over SSH.

Step 1: Install Docker and point your domain

Install Docker Engine with the Compose plugin from Docker’s own repository. Then create an A record for your subdomain that points to the server’s IP, and open ports 80 and 443 in the firewall. If you are new to locking down a server, read our VPS security checklist first.

Step 2: Write the Compose file

Create a folder and a Compose file:

mkdir ~/actual && cd ~/actual
nano docker-compose.yml

Paste this file. It is the Compose file from Actual’s repository with two changes: the version is pinned instead of latest, and the port is bound to 127.0.0.1, so Actual is only reachable through NGINX and your domain, not by server IP and port.

services:
  actual_server:
    image: docker.io/actualbudget/actual-server:26.11.0
    ports:
      - "127.0.0.1:5006:5006"
    volumes:
      - ./actual-data:/data
    healthcheck:
      test: ["CMD-SHELL", "node scripts/health-check.js"]
      interval: 60s
      timeout: 10s
      retries: 3
      start_period: 20s
    restart: unless-stopped

Set the version to the latest release on Actual’s GitHub releases page (v26.11.0 at the time of writing). A fixed version means an upgrade only happens when you choose it.

Step 3: Know the settings you might change

Actual runs without any settings. These are common ones from Actual’s server configuration page, with their defaults as of November 2026:

Setting What it does Default
ACTUAL_PORT The port Actual listens on inside the container 5006
ACTUAL_UPLOAD_FILE_SIZE_LIMIT_MB Largest file you can upload 20
ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB Largest budget file that can sync 20
ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB Same, for encrypted budgets 50
ACTUAL_LOGIN_METHOD password, header or openid (OpenID is marked as a preview) password

Add any of them under an environment: key in the Compose file. If you set none, leave the key out.

Step 4: Start Actual

docker compose up -d
docker compose ps

Wait for docker compose ps to show the container as healthy (it shows health: starting until the first health check passes); if it does not get there, check docker compose logs. You can also run curl -I http://127.0.0.1:5006 on the server to see whether Actual answers.

Step 5: Put NGINX and SSL in front

Install NGINX and Certbot, then create a site file such as /etc/nginx/sites-available/actual. This is a plain proxy block built from the proxy_pass and proxy_set_header lines in Actual’s reverse proxy guide:

server {
    listen 80;
    server_name budget.example.com;
    client_max_body_size 50M;

    location / {
        proxy_pass http://127.0.0.1:5006;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

Enable it and get a certificate:

sudo ln -s /etc/nginx/sites-available/actual /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
sudo certbot --nginx -d budget.example.com

The client_max_body_size line covers Actual’s largest default limit, 50 MB for encrypted budgets (20 MB for other uploads). If you raise Actual’s limits, raise this line too. Certbot renews the certificate on its own timer.

The block adds no Cross-Origin-Opener-Policy or Cross-Origin-Embedder-Policy headers, because Actual sends them itself. If you or a proxy tool add them too, the browser gets two copies and shows SharedArrayBufferMissing. Either add none, as here, or hide Actual’s copies first with proxy_hide_header and then add your own, as Actual’s guide shows.

Step 6: Set your server password right away

Open your HTTPS address. Actual shows Welcome to Actual!: enter a strong password in Password and Confirm password, then click OK. Save it in a password manager; Actual uses this one password for everyone who signs in.

The Welcome to Actual! screen where you set the server password on first visit

Then sign in, create a budget, add one account and one transaction, and open it on a second device. That one test shows HTTPS, sync and the volume all work.

Option 2: One-Click Actual Budget on xCloud

The one-click path gives you the same container, port binding, NGINX and SSL without writing any of it. The full walkthrough, with a screenshot of every screen, is in 👉 How to Deploy Actual Budget With xCloud One Click Apps.

Step 1: Pick an NGINX server

Use an xCloud managed server, or connect a server you already rent. Keep NGINX as the web server: Docker apps run on NGINX servers, and xCloud installs Docker with the first container app, as described in enabling Docker on an NGINX server. An existing server needs 512 MB of RAM, 1 core and 2 GB of free disk.

Step 2: Choose Actual Budget in One Click Apps

Go to Sites → Add New Site, type Actual Budget in Search apps… and select the card. It shows the version it installs. Under Where should it run?, pick your server, or Deploy on a new server, then click Continue.

Step 3: Pick a domain and go

Enter a Site Title. Under Domain Setup, choose Demo Site to try it on a temporary address, or Go Live with your own subdomain. Click Next. There are no Actual-specific fields: xCloud starts the container, makes Actual reachable only through your domain, not by server IP and port, and sets up HTTPS.

Step 4: Set the password and create your first budget

When the install finishes, Site Overview shows the Actual Budget Credentials panel with your URL and a reminder. Click Visit Site and set your server password straight away. xCloud never creates or keeps it, so it cannot be recovered; keep it in a password manager.

The Actual Budget Credentials panel on Site Overview with the site URL and the set-a-password reminder

After Install: Backups, Updates and Security

These three jobs decide whether your budget is still there in two years. They apply on either path.

How a request reaches Actual Budget and where its data lives

Backups

Everything Actual stores is in /data: server-files/account.sqlite (the hashed password, the list of budgets and sessions), user-files/ (your budget files) and an optional config.json. Back up that whole folder, not just one file.

Also export each budget from time to time. Actual’s backup guide shows the path: click Settings in the sidebar, then Export data in the Data section. Save the file off the server. Our list of website backup mistakes covers the usual traps, such as keeping the only copy on the same disk.

On xCloud, open the site and go to Backup → Previous Backups and click Backup Now, or schedule backups in Backup → Backup Settings with remote copies. 👉 See how to back up and restore Docker apps.

Updates

Read Actual’s release notes between your version and the new one, back up /data and export your budgets first.

On a manual install, change the image tag in docker-compose.yml, then run docker compose pull and docker compose up -d. Never run docker compose down -v on an existing install.

On xCloud, when xCloud adds a newer Actual version, App Updates in the site sidebar shows it, takes a backup first and lets you undo. 👉 See updating a One Click App.

Security

Set the server password before anything else, and keep it long. Keep Actual behind HTTPS only, and keep port 5006 limited to the server itself. Turn on Actual’s end-to-end encryption if you want the synced budget unreadable without a second password.

What the One-Click Install Does Not Do

Here is the honest list, read from xCloud’s template:

  • No password. xCloud does not create, show or keep the Actual server password. If you forget it, xCloud cannot recover it.
  • No bank sync set up for you. Bank sync is optional. You set it up inside Actual Budget with your own account at a supported provider (see Actual Budget’s bank sync docs) and your own API credentials from that provider.
  • No single sign-on or separate users. OpenID and multi-user mode are not turned on; everyone shares one server password.
  • No automatic version jumps. Actual stays on its pinned release until you update from App Updates.
  • No budget exports for you. xCloud backs up the volume; exporting each budget is still yours.

To undo the install, delete the site from xCloud. Export your budgets or take a backup first if you want to keep them.

Docker Compose vs One-Click: Which to Choose

Actual Budget itself is free. What you pay for is where it runs and who looks after it.

Docker Compose by hand One-click on xCloud
Software cost Free (MIT) Free (MIT)
Server You rent and set it up xCloud server or your own
Setup Docker, Compose file, NGINX, Certbot, firewall A site title and a domain
HTTPS and headers You write the proxy and avoid duplicates Set up for you, with no double-header error
Direct access by IP Possible on port 5006 unless you bind it to 127.0.0.1, as the file above does Only reachable through your domain, not by server IP and port
Server password You set it first You set it first
Backups Your own scripts, plus exports Scheduled Docker app backups with remote copies, plus exports
Upgrades Edit the tag, pull, restart App Updates with a backup first
Bank sync, SSO Add what you need Bank sync inside Actual; SSO not in the template

Choose Docker Compose if you want OpenID login, a home server, or full control of the proxy. Choose one-click if you would rather spend the hour setting up categories than debugging headers. Your time is the hidden cost; our guide to self-managed vs managed hosting goes deeper on that choice.

Put Your Budget on Your Own Server This Week

If you like owning every layer, the Compose steps above get Actual Budget running in an evening: pin the version, bind the port to the server itself, put HTTPS in front without doubling the headers, and set the password before you share the link. Then restore one backup to prove it works.

If you would rather skip the plumbing, deploy it from xCloud Actual Budget hosting, compare server sizes on the pricing page, or browse other apps in One Click Apps and on Docker hosting. Comparing budgeting apps? See Firefly III hosting, and for more apps set up the same way, our guides to self-hosting Immich and free Docker hosting.

If you have found this blog helpful, feel free to subscribe to our blogs for valuable tutorials, guides, knowledge, and tips on web hosting and server management. You can also join our Facebook community to share insights and engage in discussions.

Frequently Asked Questions

How much RAM does Actual Budget need in Docker?

Very little. xCloud’s Actual Budget template asks for at least 512 MB of RAM, 1 CPU core and 2 GB of disk on an existing server. Big budgets, long sync history and kept backups need more disk over time.

Why does Actual Budget show SharedArrayBufferMissing?

The browser could not turn on the feature Actual’s database engine needs. Either the site is not on HTTPS, or your proxy sends the Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers twice. Serve it over HTTPS and hide the copies the app already sends.

Is there a default Actual Budget password?

No. The first person who opens a new install sets the server password on the Welcome to Actual! screen. Open the address and set it straight away, before anyone else can find it.

Do I need a database container for Actual Budget?

No. Actual keeps its data in SQLite files inside the /data folder: server-files for the login and file list, user-files for your budgets. One container and one volume is the whole app.

Does xCloud update Actual Budget for me?

Not on its own. The template pins one Actual release. When xCloud adds a newer version, App Updates in the site sidebar shows it, takes a backup first and lets you undo. You choose when.

Last updated November 27, 2026

← All articles