tecnovert
4 months ago
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
4 changed files with
8 additions and
2 deletions
.gitignore
doc/install.md
doc/upgrade.md
docker/example.env
@ -12,3 +12,4 @@ __pycache__
# geckodriver.log
*.log
docker/.env
@ -30,6 +30,12 @@ Without this step you will need to preface each `docker-compose` command with `s
https://docs.docker.com/engine/install/linux-postinstall/
#### Copy the default environment file:
cd basicswap/docker
cp example.env .env
#### (Optional) Set custom coin data path:
Coin-related files, such as blockchain and wallet files, are stored in `/var/data/coinswaps` by default. To use a different location, simply modify the target path in your `.env` file found within the `/docker` sub-folder.
@ -27,8 +27,7 @@ If the dependencies have changed the container must be built with `--no-cache`:
After updating the code and rebuilding the container run:
basicswap/docker]$ export COINDATA_PATH=[PATH_TO]
$ docker-compose run --rm swapclient \
basicswap/docker]$ docker-compose run --rm swapclient \
basicswap-prepare --datadir=/coindata --preparebinonly --withcoins=monero,bitcoin