Installation

Requirements

  • You need to have an account on a supported Exchange;
  • You need to have Docker installed: https://docs.docker.com/get-docker/;
  • You need to have an API key active on a supported Exchange. It needs read, trade and withdraw permission.

Note

Add your unprivileged user to the correct group to execute Docker commands without root: $ sudo usermod -aG docker ${USER}. You might need to log out & log back in for this to take effect.

Using Docker Hub (easiest)

Installing

Use these commands to download this tool from Docker Hub:

$ docker pull ghcr.io/jorijn/bitcoin-dca:latest

Upgrading

Using these commands you can download the newest version from Docker Hub:

$ docker image rm ghcr.io/jorijn/bitcoin-dca
$ docker pull ghcr.io/jorijn/bitcoin-dca:latest

Build your own (more control)

If you desire more control, pull this project from GitHub and build it yourself. To do this, execute these commands:

cd ~
git clone https://github.com/Jorijn/bitcoin-dca.git
cd bitcoin-dca
docker build . -t ghcr.io/jorijn/bitcoin-dca:latest

When an upgrade is available, run git pull to fetch the latest changes and build the docker container again.

Next: Configuration