doc: Expand upgrade notes.

2024-05-20_merge
tecnovert 2 years ago
parent 697d88d5f2
commit 90aaa46918
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 24
      doc/upgrade.md

@ -3,21 +3,27 @@
### Docker ### Docker
Update only the code: First ensure that docker is running.
If `docker ps` returns an error try:
sudo systemctl start docker
Update only the code (prepend sudo to each docker command if necessary):
basicswap]$ git pull basicswap]$ git pull
$ cd docker cd docker
$ export COINDATA_PATH=[PATH_TO] export COINDATA_PATH=[PATH_TO]
$ docker-compose build (Probably export COINDATA_PATH=/var/data/coinswaps)
$ docker-compose up docker-compose build
docker-compose up
If the dependencies have changed the container must be built with `--no-cache`: If the dependencies have changed the container must be built with `--no-cache`:
basicswap]$ git pull basicswap]$ git pull
$ cd docker cd docker
$ export COINDATA_PATH=[PATH_TO] export COINDATA_PATH=[PATH_TO]
$ docker-compose build --no-cache docker-compose build --no-cache
$ docker-compose up docker-compose up
#### Update core versions #### Update core versions

Loading…
Cancel
Save