Specify versions
This commit is contained in:
parent
ca4a2c095a
commit
0483880f1f
2 changed files with 11 additions and 13 deletions
14
README.md
14
README.md
|
|
@ -24,15 +24,14 @@ First, clone this repo where you would like to run your node.
|
|||
### Building electrs
|
||||
|
||||
Since there is no good `electrs` docker image out there, we roll our own one
|
||||
for this project. The file is `electrs-docker/Dockerfile`. To build the image, run the
|
||||
following command:
|
||||
for this project. The file is `electrs-docker/Dockerfile`. To build the image,
|
||||
run the following command:
|
||||
|
||||
```bash
|
||||
cd electrs-docker
|
||||
docker build -t my-electrs:latest -f Dockerfile .
|
||||
```
|
||||
|
||||
|
||||
### Environment and configuration files
|
||||
|
||||
Now, you need to build a `.env` file. You can start by making a copy of
|
||||
|
|
@ -51,9 +50,8 @@ not make any changes if you are following these instructions.
|
|||
|
||||
Inside `data/lnbits`, you will need to place a `.env` file. Pay attention: this
|
||||
file is specific for LNbits and is unrelated to the other `.env` file that sits
|
||||
on the root of this repo. The best place to get an example is [the official
|
||||
LNbits repository](https://github.com/lnbits/lnbits).
|
||||
|
||||
on the root of this repo. The best place to get an example
|
||||
is [the official LNbits repository](https://github.com/lnbits/lnbits).
|
||||
|
||||
### Running and Smoke testing
|
||||
|
||||
|
|
@ -73,11 +71,11 @@ different services:
|
|||
## Upgrading versions of the different services
|
||||
|
||||
- Bitcoin: upgrade in docker-compose.yaml.
|
||||
- electrs: specify tag in custom electrs dockerfile, build again.
|
||||
- electrs: specify tag in the `git checkout` command in the custom electrs
|
||||
dockerfile, build again.
|
||||
- mempool: upgrade web, api and db in docker-compose.yaml.
|
||||
- LNbits: upgrade in docker-compose.yaml.
|
||||
|
||||
|
||||
### How to backup data
|
||||
|
||||
TODO: explain how to back all the data up with a rsync.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue