Skip to content

Set Up Actual Budget on a Linux VPS – Budgeting App with Your Own Sync Server

Set up Actual Budget on your Linux VPS as a One-Click App with HTTPS or manually with Docker Compose. Learn how to set a server password, create accounts, import CSV files, use envelope budgeting, sync across devices, encrypt your data, and create backups.

27 November 202612 min read1 Views0 helpful

Introduction

Actual Budget is a free budgeting app based on the envelope budgeting method: You assign the money you actually have to categories such as rent, groceries, or vacation and can see at any time how much is left in each “envelope.” You import transactions as a file from your online banking or enter them manually.

Actual stores your budget locally on each device and syncs it through your own sync server. If that server runs on your VPS, your financial data stays with you and not with a third-party provider. You can open your budget in a browser on your PC, laptop, or smartphone.

In this guide, we’ll show you two ways to get started: the easy way with the One-Click App, which makes Actual available over HTTPS in just a few clicks, and a manual installation with Docker Compose following the official guide. Then you’ll create accounts, import transactions, assign your money to categories, and use your budget on multiple devices.

When It Makes Sense to Run Actual Budget on a VPS

Actual also runs as a desktop app without a server. Running your own sync server on a VPS is useful if:

  • You want to use your budget on multiple devices. Changes on your PC will soon appear in the browser on your smartphone, too.
  • Multiple people want to manage a shared household budget. Everyone opens the same budget file through the server.
  • You don’t want your financial data stored with a cloud provider. The server is yours, and you can also encrypt the budget end-to-end if you want.
  • You want an automatic backup on a second device. The server keeps a copy of your budget, even if your laptop fails.

Actual is less suitable if you want transactions to be imported automatically from your checking account. The built-in bank connection currently supports very few banks in Germany and Austria (see “Limitations” below). For most accounts, you import transactions as a file, which takes only a few minutes each month.

The Easy Way: Actual Budget as a One-Click App

The quickest way to get Actual Budget running is through the One-Click Apps on your VPS. The app is accessible directly over HTTPS with a domain and stores your budgets in its own volume. You don’t need to configure a reverse proxy, certificate, or firewall rules.

Requirements

  • A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Set Up One-Click Apps for instructions.
  • Actual requires very little processing power. The values in the Requirements table below also apply to the One-Click App. In our test, the server used less than 60 MB of memory after startup.

Install

  1. Open your VPS in the ZapX Dashboard and go to the One-Click Apps tab.
  2. Search the app catalog for Actual Budget and click Install app.
  3. Use a custom subdomain or zap.cloud is already selected, with a random name. Make sure to leave this option enabled and enter a custom name if needed. Actual only works in a browser over HTTPS, so you can’t use the app without a domain.
  4. You don’t need to enter anything else. Actual has no custom fields in the installation form, and passwords are not generated automatically.
  5. Click Queue installation. Actual should show as online on the app card after one or two minutes.

Set a Server Password on First Visit

Actual doesn’t have a predefined admin account. Instead, you set a password for the server the first time you visit it:

  1. Open the app’s Access link. Actual will welcome you with Welcome to Actual!.
  2. Enter a secure password under Password, enter it again under Confirm password, and click OK.
  3. Sign in on the Sign in to this Actual instance page using this password.
Warning

Set the password right after installation Until a password is set, anyone who visits your app’s address can set one and then access the server. Open the access link as soon as the app is online.

The server password protects access to all budgets on this server. If you forget it, you can reset it on the server without losing data (see FAQ).

Create Your First Budget

After signing in, Actual shows the Welcome to Actual page:

  • Start budgeting creates a new budget file. It’s initially called “My Finances”; you can change the name in the top-left corner.
  • Import my budget imports a budget from YNAB 4, the new YNAB (nYNAB), or an export from another Actual instance.
  • Try the demo opens a sample budget to try out.

Under Settings, you can change the interface language under Display language, for example, to German. The translations are provided by the community. Under Number format and Date format, you can adjust number and date formats to suit your preferences.

Updates and Backups

Update Actual in the app settings (gear icon) under App update. Click Check for updates and install a new version with Apply update. If the page says the app is up to date, there isn’t a newer version in the app catalog yet. Your budgets are stored in their own volume and are kept when you update. In Actual, you can see the version under Settings, next to Client version and Server version.

Back up your budget regularly: In Actual, open Settings and click Export data in the Data section. You’ll get a ZIP file containing your database. Store it somewhere outside the server. You can use the same file to restore your budget on any Actual instance.

Manual Installation

The rest of this guide describes a manual installation of Actual Budget with Docker Compose on your VPS—for example, if you don’t use One-Click Apps on the server or want to control all the settings yourself.

Requirements

  • A Linux VPS running Debian or Ubuntu, with SSH access. See First Access over SSH.
  • Docker and Docker Compose. See Install Docker. Verify the installation with docker --version and docker compose version.
  • A domain or subdomain with an A record pointing to your VPS’s IP address (e.g. budget.example.com). You’ll need HTTPS to access it from other devices.
MinimumRecommended
CPU1 core1 core
Memory (RAM)128 MB512 MB
Storage1 GB5 GB

Actual consists of a single Node.js container and stores everything in SQLite files. That means even a small VPS is enough for a household with a few people.

Prepare the Firewall

Actual listens on port 5006. You don’t need to open this port if you use a reverse proxy as described below. With ufw, allow only SSH and the ports required by the reverse proxy:

Code
ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
Warning

Docker bypasses ufw Ports published by Docker using ports: are accessible from outside even if ufw blocks them. So, as in the Compose file below, bind Actual only to 127.0.0.1. This is especially important here because anyone could set the server password before the first visit. For more information, see Managing the Firewall on Linux.

Install with Docker Compose

Create a directory for Actual and switch to it:

Code
mkdir -p /opt/actual
cd /opt/actual

Create the Compose file with nano docker-compose.yml. It follows the official template from the Actual repository, with a fixed version and a port that’s accessible only locally:

Code
services:
  actual_server:
    image: docker.io/actualbudget/actual-server:26.11.0
    container_name: actual_server
    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

Here’s what the entries mean:

  • image: the official image at a fixed version. Versions use the year and month (26.11.0 = November 2026) and are listed on GitHub. The latest tag always points to the newest official version.
  • 127.0.0.1:5006:5006: Actual is accessible on the server at port 5006, but only locally. External access goes through the reverse proxy.
  • ./actual-data:/data: the directory for all data. Actual creates the server-files subdirectory (server password and account management) and the user-files subdirectory (your budget files) in it.
  • healthcheck: Docker regularly checks whether the server responds. docker compose ps then shows healthy.

You can set additional options, such as upload limits or OpenID login, as environment variables. The list is in the official configuration documentation. Start the container:

Code
docker compose up -d

Check whether everything is running with docker compose ps, and view Actual’s messages with docker compose logs -f actual_server.

First Visit

Since Actual listens only on 127.0.0.1, you’ll open the interface through an SSH tunnel the first time. Run this command on your own computer:

Code
ssh -L 5006:localhost:5006 root@SERVER_IP

Replace SERVER_IP with your VPS’s IP address and open http://localhost:5006 in your browser. Actual also works over localhost without HTTPS. Set the server password and sign in as described above under “Set a Server Password on First Visit.”

Access over HTTPS Through a Reverse Proxy

Actual requires HTTPS when accessed from other devices. The app uses a browser technology called SharedArrayBuffer for its database, and browsers allow it only on HTTPS pages, according to the official documentation. If you use plain HTTP, Actual starts with an error message.

So, configure a reverse proxy with a valid certificate in front of Actual. For the basics, see Set Up a Reverse Proxy with nginx and Create an SSL Certificate (Let's Encrypt). Here’s a server block for nginx:

Code
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;
    }
}

client_max_body_size is important because nginx otherwise rejects anything over 1 MB. Actual uploads entire budget files to the server during sync. The server itself allows up to 20 MB by default, or up to 50 MB for encrypted files, according to the documentation. Then get the certificate with certbot --nginx -d budget.example.com. Certbot adds HTTPS and the HTTP redirect to the block.

Info

Don’t set your own COOP/COEP headers The Actual server sends the required Cross-Origin-Embedder-Policy and Cross-Origin-Opener-Policy headers itself. If you also set them in nginx with add_header, they’ll be sent twice and the browser will report the SharedArrayBufferMissing error. According to the official documentation, you can use proxy_hide_header for both headers to fix this.

Tip

Use Caddy instead of nginx It’s shorter with Caddy: Caddy gets the certificate itself. An entry like budget.example.com { reverse_proxy 127.0.0.1:5006 } in the Caddyfile is all you need.

Back Up Your Data

All Actual data is stored in the /opt/actual/actual-data directory. To create a complete backup, briefly stop the container and archive the directory:

Code
cd /opt/actual
docker compose stop
tar -czf actual-data-$(date +%F).tar.gz actual-data
docker compose start

You can also export an individual budget as a ZIP file in Actual at any time under Settings > Export data. Copy your backups to another computer; a backup on the same server won’t protect you if the server fails.

Update Actual Budget

Read the release notes and create a backup before each update. Then enter the new version in docker-compose.yml and download the image again as described in the official guide:

Code
cd /opt/actual
docker compose pull && docker compose up -d

Remove old images with docker image prune.

Using Actual Budget Day to Day

Once you’ve set everything up, create your accounts, import transactions, and assign your money to categories.

Create Accounts

  1. Click Add account in the sidebar.
  2. Select Create a local account.
  3. Enter a name under Name, such as “Checking account,” and enter the current balance under Balance.
  4. Click Create.

Use Off budget to create accounts you only want to track, such as an investment account or a loan. They won’t count as money available to assign. You can’t change this setting later.

Import Transactions

Most banks let you export transactions from online banking. Actual reads files in CSV, QIF, OFX, QFX, and CAMT formats. According to the official documentation, OFX/QFX works best because each transaction has a unique identifier.

  1. Open the account and click Import.
  2. Select the file from your online banking.
  3. For a CSV file, map the columns under CSV FIELDS: date, payee (Payee), notes, and amount. Under DATE FORMAT, select your bank’s date format; under CSV OPTIONS, select the delimiter (often a semicolon for German banks).
  4. If your file has separate debit and credit columns, enable Split amount into separate inflow/outflow columns.
  5. Check the preview at the top and click Import.

In our test, Actual automatically recognized the columns in a CSV file with headers and imported all transactions right away. Actual will generally recognize transactions that are already in the account on the next import and won’t add them twice. Use Rules under Settings to automatically assign recurring payees to a category.

Budget Categories and the Envelope Method

The heart of Actual is the Budget page. The idea is simple: You assign only money you actually have, and every dollar gets a job.

  • To Budget is at the top: money that hasn’t been assigned to a category yet. The goal is to have 0 here at the end.
  • In the Budgeted column, enter how much you plan to spend on a category this month. Spent shows your expenses, and Balance shows what’s left in the “envelope.”
  • Add categories with the + in a group, or add new groups with Add group at the end of the list.
  • If you spend more in a category than planned, move money from another category. Any shortfall at the end of the month is automatically deducted from the next month’s To Budget amount.

Actual already includes a few categories, such as Food, General, and Bills, which you can rename or delete. If you’d rather track spending instead of assigning money in advance, switch to Tracking Budgeting under Budget type in Settings.

Multiple Devices and End-to-End Encryption

Open your server’s address on another device and sign in. Under Files, Actual will show your budget file with the message Available for download. Click to download it, and Actual will then sync all changes in the background. On a smartphone, install the page on your home screen from the browser menu; according to the official documentation, it will then work offline, too. There’s also a desktop app for Windows, macOS, and Linux that connects to your server.

Under End-to-end encryption in Settings, click Enable encryption to encrypt your budget. The data will then be encrypted on your device before it’s sent to the server. You’ll need to enter the encryption password once on each additional device.

Warning

Don’t lose your encryption password If you choose a different password for encryption than for the server, as recommended in the documentation, keep it somewhere safe. Without this password and a local copy, you won’t be able to restore the budget. Encryption also can’t be turned off again.

Limitations

  • Very limited bank connections for German accounts. Under Settings > Bank Sync, Actual lists GoCardless, SimpleFIN, and Pluggy.ai. According to the official documentation, GoCardless (European banks) has not accepted new accounts since July 2025; SimpleFIN is for North America, and Pluggy.ai is for Brazil. A connection through Enable Banking for European banks is still experimental, according to the documentation. Expect to import transactions from files for German and Austrian accounts.
  • Credentials for bank connections are not end-to-end encrypted. They’re stored on the server, even if you’ve enabled budget encryption.
  • One server password for everyone. By default, there are no individual user accounts, and everyone signs in with the same password. According to the documentation, separate users need to sign in through OpenID.
  • Modern browsers only. Actual requires a current version of Chrome, Firefox, Safari, or Edge, and HTTPS.

Conclusion

You’ve set up Actual Budget on your VPS, set the server password, created an account, imported transactions, and assigned your money using the envelope method. Your budget is now up to date on all your devices, and your financial data is stored on your own server.

Prefer not to manage Docker yourself? Take the easy route with the One-Click App, as described above under “The Easy Way: Actual Budget as a One-Click App.”

Free tools

Related tools for servers and developers

View all

FAQ

Frequently asked questions

The One-Click App is the quickest option: Actual runs over HTTPS on your domain in just a few minutes, your budgets are stored in a dedicated volume, and you can install updates from the dashboard. Manual installation with Docker Compose is a good choice if you want to control the version, configure the reverse proxy yourself, or run Actual alongside other services in your own Docker environment.
Actual uses SharedArrayBuffer in the browser for its local database. Browsers allow it only on HTTPS pages (or through localhost). If you access Actual over plain HTTP, the app starts with an error message. For the One-Click App, leave the domain option enabled; for a manual installation, set up a reverse proxy with a certificate in front of the server.
You can reset it on the server without losing your budgets. Connect over SSH, find the Actual container with docker ps (for the One-Click App, the name starts with actual_server-), and run docker exec -it CONTAINERNAME node /app/src/scripts/reset-password.js. The script will ask you to enter and confirm the new password.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.