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-sureSpecification
- 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.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| 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.
| Service | Variable | Value |
|---|---|---|
| postgresql | POSTGRES_DB | Preset by the template |
| postgresql | POSTGRES_PASSWORD | Generated at deploy |
| postgresql | POSTGRES_USER | Preset by the template |
| web | APP_DOMAIN | Preset by the template |
| web | DB_HOST | Preset by the template |
| web | DB_PORT | Preset by the template |
| web | ONBOARDING_STATE | Preset by the template |
| web | POSTGRES_DB | Preset by the template |
| web | POSTGRES_PASSWORD | Generated at deploy |
| web | POSTGRES_USER | Preset by the template |
| web | RAILS_ASSUME_SSL | Preset by the template |
| web | RAILS_FORCE_SSL | Preset by the template |
| web | REDIS_URL | Preset by the template |
| web | SECRET_KEY_BASE | Generated at deploy |
| web | SELF_HOSTED | Preset by the template |
| worker | DB_HOST | Preset by the template |
| worker | DB_PORT | Preset by the template |
| worker | POSTGRES_DB | Preset by the template |
| worker | POSTGRES_PASSWORD | Generated at deploy |
| worker | POSTGRES_USER | Preset by the template |
| worker | REDIS_URL | Preset by the template |
| worker | SECRET_KEY_BASE | Generated at deploy |
| worker | SELF_HOSTED | Preset by the template |
Install Sure on a VPS
-
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 -
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 | shif the machine does not have it. See Getting started.levelrail-cli login --device -
Read the template
Shows the entry, including its full compose.yaml.
levelrail-cli templates get sure -
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.
Docs and upstream
More in Finance
- SpliitA free way to split expenses with friends and groups, no accounts needed. Share a group link and everyone adds expenses. MIT licensed, backed by Postgres.
- WallosA personal subscription tracker that shows what you pay each month, with reminders and multi-currency support.
- PaymenterOpen-source billing and client management for hosting providers, with invoices, subscriptions and provisioning extensions.
- Invoice NinjaSelf-hosted invoicing, quotes, and payments for freelancers and small businesses.
- GhostfolioA privacy-first wealth tracker for stocks, ETFs, and crypto, with portfolio analytics and no ads.
- Firefly IIIA self-hosted personal finance manager for tracking budgets, bills, and spending.