Skip to main content
Docker Compose runs captaind alongside PostgreSQL, Bitcoin Core, and optionally Core Lightning with Boltz’s hold plugin on regtest. All dependencies are included and configured automatically.
This path runs on regtest, a local-only test network. If you’d prefer to run on signet with each component installed individually, see the manual setup guide instead.
The Compose file handles boot-time dependencies and initializations using depends_on and health checks.

Start the server

1

Clone the repository

2

Start all services

3

Verify services are running

Once everything is up, you can run commands against the containers:
  • captaind — persistent data for captaind
  • postgres — PostgreSQL database files
  • bark — data for bark
  • bitcoind — Bitcoin Core blockchain and wallet data
  • cln — Core Lightning node data

Fund the server

Generate some regtest blocks and send bitcoin to the server: