Paisa
Overview
Paisa is a self-hosted personal finance manager built on top of the
plain-text ledger accounting format, with a web UI for dashboards,
budgets, and transaction management.
Project Details
- Project Repository: github.com/ananthakumaran/paisa
- Container Image: Docker Hub
- Documentation: paisa.fyi
- Reverse Proxy Port:
7500
Getting Started
- Copy this stack's
config/folder to${VOL_PATH:-/data/paisa}and make it a git repo. It holdspaisa.yaml, an emptymain.ledger,sheets/, and a.gitignore. Editpaisa.yamlto suit you. Starting a new business? Copytemplate/instead: it has a chart of accounts for a small BC corporation and commented example entries. Fill in itsTODOs. - Deploy the stack. Paisa creates
paisa.dbin the same folder. - Open http://localhost:7500 in your browser.
To explore first, see docs/demo.md for the sample books of Demolition Company Ltd. For ledger syntax, see docs/ledger-cheatsheet.md. Accountants new to Paisa should read docs/paisa-for-accountants.md, especially the section on closing entries.
Environment Variable Notes
PAISA_IMAGE – container image (default ananthakumaran/paisa:latest)
PAISA_RESTART – restart policy (default unless-stopped)
VOL_PATH – full host path of the ledger git repo; nothing is appended (default /data/paisa)
PAISA_PORT – host port for the web UI (default 7500)
Volume Notes
One volume holds everything:
/root/Documents/paisa—paisa.yaml,*.ledger,sheets/, andpaisa.db;${VOL_PATH:-/data/paisa}on the host
VOL_PATH is the full path to the folder (nothing is appended), so it
can point anywhere, such as the demo/ folder in a clone of this repo.
Keep the folder in git; the shipped .gitignore keeps paisa.db out of
commits. The database is a cache rebuilt from the ledger files.
Network Notes
Requires proxy network
Docker Run
docker run -d \
--name=paisa \
-p 7500:7500 \
-v /data/paisa:/root/Documents/paisa \
ananthakumaran/paisa:latest
Additional Notes / Gotchas
- If Paisa finds no
paisa.yaml, it creates one with Indian defaults (INR, en-IN, fiscal year starting in April), so copyconfig/in first. paisa.dbsits in the git folder (db_path: paisa.db); keep the shipped.gitignoreso it isn't committed.- Upgrading from the old two-volume layout with the old default
(
VOL_PATH=/data): setVOL_PATH=/data/paisaor Paisa will look in/data. config/paisa.yamluses CAD, en-US number formatting, America/Vancouver, a January fiscal year, and no login. Adduser_accountsbefore exposing Paisa through the proxy.- The container runs as root; files it writes are root-owned.
Dockhand Stack, Deploy from Git
- Cookbooks Repository
- stackname: paisa
- Compose file path: paisa/compose.yaml
- Additional env file (optional): paisa/sample.env
Then "Load" paisa/sample.env into the Environment variables in dockhand.
Create the Stack