Skip to content

Docker Compose Install

Codewriter90x edited this page Jul 9, 2026 · 1 revision

Docker Compose Install

OpenCashFlow preview releases run as a Docker Compose stack with three services:

Docker Compose stack

  • db: PostgreSQL database.
  • api: OpenCashFlow API.
  • webapp: browser-facing WebApp.

The containers are separate on purpose. Docker Compose creates the private network and connects webapp -> api -> db.

Minimal Install

curl -LO https://github.com/Reckonry/OpenCashFlow/releases/download/v0.1.0-preview.2/OpenCashFlow-0.1.0-preview.2.tar.gz
tar -xzf OpenCashFlow-0.1.0-preview.2.tar.gz
cd OpenCashFlow-0.1.0-preview.2
cp .env.example .env

Edit .env before shared use:

Edit .env configuration

At minimum, change:

  • JWT_SECRET
  • POSTGRES_PASSWORD
  • APP_URL, if users will open a URL other than http://localhost:5200

Then start the stack:

docker compose -f docker-compose.release.yml up -d

Open:

http://localhost:5200

First-Run Setup

On a fresh database, the WebApp redirects to /Setup.

First-run setup wizard

The setup wizard asks for:

  • company name;
  • administrator first and last name;
  • administrator email;
  • language;
  • currency;
  • country;
  • timezone.

The setup wizard creates application data only. It does not create PostgreSQL users, databases, TLS certificates, or infrastructure permissions.

Real screenshot captured from the Docker Compose smoke stack:

Real first-run setup form

Temporary Password

After setup completes, OpenCashFlow shows a generated temporary administrator password exactly once.

Generated admin password shown once

Store it immediately. It is not shown again.

The real screenshot below is masked before publishing so no generated secret is stored in the Wiki:

Real setup complete screen with password masked

First Login

Log in with the administrator email and the generated temporary password.

First login requires password change

OpenCashFlow requires a password change before normal use.

After setup is complete, /Setup is locked and redirects back to login:

Real login screen after setup lock

Stop And Update

Stop without deleting data:

docker compose -f docker-compose.release.yml down

Update to a newer preview:

docker compose -f docker-compose.release.yml pull
docker compose -f docker-compose.release.yml up -d

Back up the PostgreSQL volume before updates. The release package includes more detail in:

Docs/setup/docker-compose-release-install.md

OpenCashFlow

Preview Status

  • Developer Preview
  • Not production-ready
  • First-run setup included

Clone this wiki locally