Deploy Sure

Self-hosted personal finance: net worth, budgets, transactions

Deploy Sure

Just deployed

/data

/var/lib/postgresql/data

/rails/storage

Deploy and Host Sure on Railway

Sure is an open-source personal finance app, the community-maintained successor of Maybe Finance. It tracks accounts, net worth, transactions, budgets and investments in one place, with CSV imports, rules, reports and an optional AI assistant. You run it yourself, so your financial data stays in your own database.

About Hosting Sure

Sure is a Ruby on Rails app that needs PostgreSQL, Redis and a Sidekiq worker for background jobs such as syncs, imports and exports. This template runs the official Sure image (version 0.7.6-hotfix.1, pinned by digest) from a small GitHub wrapper repo, with Railway Postgres and Redis on the private network. The web server and Sidekiq run in one service so they share a persistent volume for uploads and exports. Database migrations run on every boot. On first boot the template creates your admin account from the email you enter and a generated password, and public sign-up stays closed, so nobody else can claim your instance.

Common Use Cases

  • Track net worth across bank, credit card, loan, property and investment accounts
  • Import transactions from CSV files, categorize them with rules and follow budgets
  • Share a private household finance dashboard with family members by invitation

Dependencies for Sure Hosting

  • PostgreSQL (Railway Postgres)
  • Redis (Railway Redis)

Deployment Dependencies

Implementation Details

After deploy, open the Sure service's public URL and log in with the ADMIN_EMAIL you entered and the ADMIN_PASSWORD shown in the service's Variables tab, then change the password in the app. To let others join, invite them from Settings, or switch sign-up to "invite only" or "open" in Settings → Self-Hosting.

Optional features need extra variables on the Sure service: SMTP_ADDRESS, SMTP_PORT, SMTP_USERNAME, SMTP_PASSWORD and EMAIL_SENDER for email; OPENAI_ACCESS_TOKEN (or another LLM provider) for the AI assistant; TWELVE_DATA_API_KEY for exchange rates and stock prices. Keep SECRET_KEY_BASE unchanged after setup, because it encrypts stored credentials.

Why Deploy Sure on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Sure on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
52