mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-18 16:44:34 +00:00
doc: Expand upgrade notes.
This commit is contained in:
parent
697d88d5f2
commit
90aaa46918
1 changed files with 15 additions and 9 deletions
|
@ -3,21 +3,27 @@
|
|||
|
||||
### 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
|
||||
$ cd docker
|
||||
$ export COINDATA_PATH=[PATH_TO]
|
||||
$ docker-compose build
|
||||
$ docker-compose up
|
||||
cd docker
|
||||
export COINDATA_PATH=[PATH_TO]
|
||||
(Probably export COINDATA_PATH=/var/data/coinswaps)
|
||||
docker-compose build
|
||||
docker-compose up
|
||||
|
||||
If the dependencies have changed the container must be built with `--no-cache`:
|
||||
|
||||
basicswap]$ git pull
|
||||
$ cd docker
|
||||
$ export COINDATA_PATH=[PATH_TO]
|
||||
$ docker-compose build --no-cache
|
||||
$ docker-compose up
|
||||
cd docker
|
||||
export COINDATA_PATH=[PATH_TO]
|
||||
docker-compose build --no-cache
|
||||
docker-compose up
|
||||
|
||||
|
||||
#### Update core versions
|
||||
|
|
Loading…
Reference in a new issue