GuidesFiles, photos and homeBudgeting with Actual

Run Actual Budget with rootless Docker

Actual Budget, a private budgeting app, on Debian 13 in rootless Docker under a user of its own, synced across your devices over HTTPS behind Caddy, with failed logins limited per visitor, updates and backups.

Tested on Docker steps follow the tested rootless Docker base guide on Debian 13 with Docker Engine 29.10.1, Compose 5.8.1 and rootlesskit 3.3.0; the app version and app-specific behaviour are from the tested Podman guide on a Melonslab server. Not re-tested end to end under Docker. Updated November 28, 2026

Recommended server for this guide

SSD RAID 1 · ECC DDR4 · 10 Gbit

VC-P Alloy · 2 vCPU · 8 GB Memory · 60 GB Storage

Month to month, no lock-in 7-day money-back guarantee

€8.99/mo

Deploy now

Quick install on a fresh VM

This command sets up a rootless container engine and a directory for this service. Podman is the default; add --engine docker to the command to use Docker instead.

curl -fsSL https://www.melonslab.com/install/rootless.sh | bash -s -- --app actual-budget-docker --manifest actual-budget --sha256 b5ef89882f75207dfe9912d22cb2ba0caa7957157f66573eaef1162203deea5a
View the script

SHA-256: 97785be3e3e91393181a4a7caeab5f4b52803bf52e960dd488945cb38c6473a2

Run this guide on Melonslab

We ran every step below on our own server. For this workload we recommend VC-P Alloy at €8.99/mo. Order it, pick Debian 13, and follow the guide.

  1. 1. Order the server. Use the button below to order the recommended plan. Choose Debian 13 when the installer asks for an operating system.
  2. 2. Add IPv4 if needed. Add it on the order form when the guide publishes a service on the internet. It is a paid add-on, not included in the plan.
  3. 3. Connect over SSH. Log in as root with the address and credentials from your order, then run the commands below.
  4. 4. Follow the verified steps. Every command in this guide was run on a Melonslab server before it was published.
Deploy now
On this page

What you will set up

Actual Budget is a budgeting app that runs in your browser. Its server keeps your budget in sync between your computers and phones, so you can plan on one and check on another.

Here the server runs as one Compose service, under a user of its own called actual, with Caddy in front for HTTPS.

The Docker setup follows our tested rootless Docker guide on Debian 13. The app version and the app-specific behaviour below come from the tested Podman guide on a Melonslab server; the Docker steps for this app were not re-tested end to end. In the Podman test, Actual used about 250 MB of memory at idle, so the smallest of our Standard plans had room to spare.

Before you start

You need:

  • a server set up as in the rootless Docker guide, with Caddy running;
  • a name for it, such as budget.example.com, with an A record and an AAAA record pointing at your server.

The examples use budget.example.com for the name and 203.0.113.10 for your server's IPv4 address. Replace them with your own throughout.

1. Create the user

As root:

useradd -m -s /bin/bash -U actual
loginctl enable-linger actual

Do not add the user to the docker group. The daemon is rootless and belongs to this user.

2. Describe the Compose service

mkdir -p /home/actual/actual-budget/data
cat > /home/actual/actual-budget/compose.yaml <<'YAML'
services:
  actual:
    image: docker.io/actualbudget/actual-server:latest
    ports:
      # Only Caddy, on this server, can reach Actual: the port is not open to the internet.
      - "127.0.0.1:8084:5006"
    environment:
      ACTUAL_TRUSTED_PROXIES: "203.0.113.10"
    volumes:
      - ./data:/data
    restart: always
YAML
chown -R actual:actual /home/actual/actual-budget

Actual allows five failed logins per 15 minutes from each IP address. It takes the visitor's address from what Caddy passes on, but by default only from proxies on private addresses, and Caddy's connections reach the container from the server's own IPv4 address. ACTUAL_TRUSTED_PROXIES names that address. Without it, every visitor would share one address, and a few wrong passwords from anyone would lock everyone out.

Start it:

uid=$(id -u actual)
runuser -u actual -- env HOME=/home/actual XDG_RUNTIME_DIR=/run/user/$uid \
  DOCKER_HOST=unix:///run/user/$uid/docker.sock PATH=/usr/bin:/bin \
  bash -lc "cd /home/actual/actual-budget && docker compose pull && docker compose up -d && docker compose logs -f"

When the log says Listening on :::5006..., press Ctrl+C.

3. Put Caddy in front

As root, add this block to the end of /home/caddy/Caddyfile:

budget.example.com {
    reverse_proxy 127.0.0.1:8084
}
chown caddy:caddy /home/caddy/Caddyfile
uid=$(id -u caddy)
runuser -u caddy -- env HOME=/home/caddy XDG_RUNTIME_DIR=/run/user/$uid \
  DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$uid/bus PATH=/usr/bin:/bin \
  bash -lc "export DOCKER_HOST=unix:///run/user/$uid/docker.sock; cd /home/caddy/caddy && docker compose restart caddy"

Restarting Caddy briefly interrupts every site it serves. Caddy gets a certificate for budget.example.com and renews it by itself. Actual only runs in the browser over HTTPS.

4. Set the server password

Open https://budget.example.com. The first time, Actual asks you to set a server password, which protects access to your budgets. Then create a new budget, or import one from a file.

On your other devices, open the same address and log in with that password; your budget syncs between them. Actual can also encrypt a budget on your devices before it is synced, with a password of its own, if you want the server to hold only encrypted data.

5. Keep it up to date

Add the weekly docker-update.service and docker-update.timer from the rootless Docker guide, with WorkingDirectory=/home/actual/actual-budget, then enable the timer as actual. The service pulls new images and recreates the Compose service.

6. Back up

As root, stop the service for a few seconds so the copy is consistent:

uid=$(id -u actual)
runuser -u actual -- env HOME=/home/actual XDG_RUNTIME_DIR=/run/user/$uid \
  DOCKER_HOST=unix:///run/user/$uid/docker.sock PATH=/usr/bin:/bin \
  bash -lc "cd /home/actual/actual-budget && docker compose stop"
umask 077
mkdir -p /home/actual/backup
tar czf /home/actual/backup/actual-data.tgz -C /home/actual/actual-budget data
runuser -u actual -- env HOME=/home/actual XDG_RUNTIME_DIR=/run/user/$uid \
  DOCKER_HOST=unix:///run/user/$uid/docker.sock PATH=/usr/bin:/bin \
  bash -lc "cd /home/actual/actual-budget && docker compose up -d"

The archive holds the server's account database and every budget file. Copy it to another machine afterwards: a backup on the same server does not survive losing the server. Actual can also export a budget from its settings, as a file you can import again.

Troubleshooting

Logging in says there were too many attempts. Five wrong passwords from your address lock logins from it for 15 minutes, even with the right password. Wait, and try again.

One person's wrong passwords lock everyone out. ACTUAL_TRUSTED_PROXIES in step 2 must be the server's IPv4 address, the one Caddy's connections arrive from.

The app does not start in the browser. Open it at https://budget.example.com: Actual needs a secure connection to run.

Compose says permission denied. Run it as actual from /home/actual/actual-budget, with DOCKER_HOST pointing at the user's socket.

Your budget, in Sweden

With Actual on a Melonslab server, your budget is stored in Sweden, under Swedish and EU law, on a server you control.

Run it on your own server

SSD RAID 1 · ECC DDR4 · 10 Gbit

VC-P Alloy

€8.99/mo

vCPU
2
Memory
8 GB
Storage
60 GB
Transfer
10 TB
Performance
SSD · RAID 1
  • Full root access
  • Native /64 IPv6
  • RAID-protected storage
  • Malmö, Sweden
  • Month to month, no lock-in
  • 7-day money-back guarantee
All guides