Self-host Sure on a VPS

A privacy-first personal finance app for tracking net worth, budgets, and investments across every account.

levelrail-cli templates deploy sure --name my-sure

Specification

Status
Listed
Category
Finance
Services
postgresql, valkey, web, worker
Ports
3000
Volumes
4
Memory
about 1 GiB
arm64
image published
amd64
image published
Settings to fill in
none

About Sure

A privacy-first personal finance app for tracking net worth, budgets, and investments across every account. Runs 4 containers (postgresql, valkey, web, worker), with web listening on port 3000 and keeps its data in named volumes.

What it deploys

Sure runs as 4 services in a single Compose app, listening on port 3000, with 4 named volume mounts.

ServiceImageTagPortsVolumes
postgresql postgres 16-alpine none sure_postgresql_data -> /var/lib/postgresql/data
valkey valkey/valkey 8-alpine none sure_valkey_data -> /data
web ghcr.io/we-promise/sure 0.6.7 3000 sure_app_storage -> /rails/storage
worker ghcr.io/we-promise/sure 0.6.7 none sure_app_storage -> /rails/storage

Before you install

  • CPU architecture. arm64 listed. Every image lists linux/arm64 in its registry manifest. That is a manifest fact, not proof the app runs on Arm.
  • Listed. It is in the catalog. Back up the data volume before changing an image tag.
  • Host ports. It publishes port 3000 directly on the host, so open them in the VPS firewall only if you want that.

Settings and environment

You do not have to fill in anything. 5 secrets are generated at deploy and stored encrypted. Values are never shown here.

ServiceVariableValue
postgresqlPOSTGRES_DBPreset by the template
postgresqlPOSTGRES_PASSWORDGenerated at deploy
postgresqlPOSTGRES_USERPreset by the template
webAPP_DOMAINPreset by the template
webDB_HOSTPreset by the template
webDB_PORTPreset by the template
webONBOARDING_STATEPreset by the template
webPOSTGRES_DBPreset by the template
webPOSTGRES_PASSWORDGenerated at deploy
webPOSTGRES_USERPreset by the template
webRAILS_ASSUME_SSLPreset by the template
webRAILS_FORCE_SSLPreset by the template
webREDIS_URLPreset by the template
webSECRET_KEY_BASEGenerated at deploy
webSELF_HOSTEDPreset by the template
workerDB_HOSTPreset by the template
workerDB_PORTPreset by the template
workerPOSTGRES_DBPreset by the template
workerPOSTGRES_PASSWORDGenerated at deploy
workerPOSTGRES_USERPreset by the template
workerREDIS_URLPreset by the template
workerSECRET_KEY_BASEGenerated at deploy
workerSELF_HOSTEDPreset by the template

Install Sure on a VPS

  1. Install Levelrail on a fresh VPS

    Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.

    curl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Sign in

    Open the setup link, choose a password, then log the CLI in. The CLI install command is curl -fsSL https://levelrail.com/install-cli.sh | sh if the machine does not have it. See Getting started.

    levelrail-cli login --device
  3. Read the template

    Shows the entry, including its full compose.yaml.

    levelrail-cli templates get sure
  4. Deploy it

    This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.

    levelrail-cli templates deploy sure --name my-sure

Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then Sure.

More in Finance

All Finance templates