Skip to content

Commit

Permalink
Add Docker usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
romanz committed Aug 20, 2018
1 parent b1bec05 commit 2d2590a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@ $ hitch --backend=[127.0.0.1]:50001 --frontent=[127.0.0.1]:50002 pem_file
$ electrum --oneserver --server=127.0.0.1:50002:s
```
## Docker
```bash
$ docker build -t electrs-app .
$ docker run --network host \
--volume /home/roman/.bitcoin:/home/user/.bitcoin:ro \
--volume $PWD:/home/user \
--rm -i -t electrs-app
```
## Monitoring
Indexing and serving metrics are exported via [Prometheus](https://github.com/pingcap/rust-prometheus):
Expand Down

0 comments on commit 2d2590a

Please sign in to comment.