doc: Expand upgrade notes.
This commit is contained in:
parent
697d88d5f2
commit
90aaa46918
@ -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…
Reference in New Issue
Block a user