doc: Rename docker/.env to example.env

This commit is contained in:
tecnovert 2024-02-12 21:49:24 +02:00
parent b96a823536
commit 2793ee00dd
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93
4 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View file

@ -12,3 +12,4 @@ __pycache__
# geckodriver.log
*.log
docker/.env

View file

@ -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.

View file

@ -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