|
|
@ -149,7 +149,8 @@ Go to your browser: http://127.0.0.1:8081
|
|
|
|
|
|
|
|
|
|
|
|
## Compiling and running with Docker
|
|
|
|
## Compiling and running with Docker
|
|
|
|
|
|
|
|
|
|
|
|
The explorer can also be compiled using `docker build` as follows:
|
|
|
|
The explorer can also be compiled using `docker build` as described below. By default it compiles
|
|
|
|
|
|
|
|
against latest release (`release-v0.17`) branch of monero:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
# build using all CPU cores
|
|
|
|
# build using all CPU cores
|
|
|
@ -157,6 +158,9 @@ docker build --no-cache -t xmrblocks .
|
|
|
|
|
|
|
|
|
|
|
|
# alternatively, specify number of cores to use (e.g. 2)
|
|
|
|
# alternatively, specify number of cores to use (e.g. 2)
|
|
|
|
docker build --no-cache --build-arg NPROC=2 -t xmrblocks .
|
|
|
|
docker build --no-cache --build-arg NPROC=2 -t xmrblocks .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# to build against development branch of monero (i.e. master branch)
|
|
|
|
|
|
|
|
docker build --no-cache --build-arg NPROC=3 -build-arg MONERO_BRANCH=master -t xmrblocks .
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
- The build needs 3 GB space.
|
|
|
|
- The build needs 3 GB space.
|
|
|
|