# Self-host ezBookkeeping

> A personal finance app for tracking income, expenses and accounts.

- Page: https://levelrail.com/templates/ezbookkeeping/
- JSON: https://levelrail.com/templates/ezbookkeeping.json
- Category: Finance
- Licence: MIT (Permissive license)
- Source: https://github.com/mayswind/ezbookkeeping
- Upstream docs: https://ezbookkeeping.mayswind.net/

## Requirements
- Memory: about 128 MiB
- amd64: unknown, arm64: unknown
- Needs configuration before start: no
- Pinned image tag: 2.1.1

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| ezbookkeeping | mayswind/ezbookkeeping | 2.1.1 | 8080 | storage -> /ezbookkeeping/storage; logs -> /ezbookkeeping/log |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| ezbookkeeping | EBK_DATABASE_TYPE | preset |
| ezbookkeeping | EBK_SECURITY_SECRET_KEY | generated |
| ezbookkeeping | EBK_SERVER_ENABLE_GZIP | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy ezbookkeeping --name my-ezbookkeeping
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/ezbookkeeping/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy ezBookkeeping on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id ezbookkeeping for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image mayswind/ezbookkeeping:2.1.1 is what you deploy there.

Self-host ezBookkeeping, ezBookkeeping docker compose file, deploy ezBookkeeping on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
