Browse Source

doc: Rename docker/.env to example.env

rename_env
tecnovert 3 months ago
parent
commit
2793ee00dd
No known key found for this signature in database GPG Key ID: 8ED6D8750C4E3F93
  1. 1
      .gitignore
  2. 6
      doc/install.md
  3. 3
      doc/upgrade.md
  4. 0
      docker/example.env

1
.gitignore

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

6
doc/install.md

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

3
doc/upgrade.md

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

0
docker/.env → docker/example.env

Loading…
Cancel
Save