Install
Download WonderMoney, generate its configuration and start it with Docker Compose.
Install with the script
curl -fsSLO https://github.com/wondermoney/wondermoney/releases/latest/download/install.sh
curl -fsSLO https://github.com/wondermoney/wondermoney/releases/latest/download/install.sh.sha256
sha256sum -c install.sh.sha256
sh install.shThe script checks for Docker, the Compose plugin, openssl and curl, and stops with instructions if one is missing. It downloads the server files from the release tag, writes .env with fresh secrets, starts the stack and waits up to three minutes for the API. It asks for the web app and API address; --yes takes the defaults, http://localhost:3000 and http://localhost:3001. Run it again to upgrade: it never rewrites .env, and offers to move to the latest release.
It installs into ./wondermoney (--dir picks another folder, --version another release) and sets WM_VERSION in .env to the release it installed. Run the docker compose commands on these pages from that folder. On macOS, check the download with shasum -a 256 -c install.sh.sha256 instead of sha256sum.
Read it first
The installer is a short POSIX sh script. Download it, read it, then run it:
curl -fsSLO https://github.com/wondermoney/wondermoney/releases/latest/download/install.sh
less install.sh
sh install.shOr do the same steps by hand, from the release tag:
# v1.4.0 here: the release you want
git clone --depth 1 --branch v1.4.0 https://github.com/wondermoney/wondermoney.git
cd wondermoney/apps/api/deploy/selfhost
./generate-env.sh
docker compose up -dgenerate-env.sh writes a .env file with fresh secrets. It runs once: if .env already exists it stops without changing it, because new secrets would end existing sessions and make stored bank credentials unreadable. Keep .env safe, with your backups.
On the first start, the API creates the database and loads the reference data (currencies, categories and the asset catalogue). This takes a minute or two. To follow it:
docker compose logs -f apiCreate your account
Open http://localhost:3000 and sign up. The first account on a new instance can always sign up. After that, SIGNUP_MODE in .env decides who else can:
| Value | Who can sign up |
|---|---|
open | Anyone who can reach the web app |
invite | Only people invited to a household |
closed | Nobody; existing accounts keep working |
Before you set up email
Until an email provider is configured, emails are not sent. They are written to the API log, links included. To reset a password or accept an invite in the meantime:
docker compose logs api | grep "Email not sent"Next steps
- Configure your instance
- HTTPS and domains, before you use it outside your own network