commit
8837d0d986
|
@ -2,7 +2,7 @@ This repo contains a Dockerfile to run and set up an insight explorer for the Zc
|
||||||
|
|
||||||
To build the image run:
|
To build the image run:
|
||||||
|
|
||||||
`docker build -t ianamunoz/zcash-insight-explorer .`
|
`docker build -t zcash-hackworks/zcash-insight-explorer .`
|
||||||
|
|
||||||
* Note that this build will pull in all the parameters so it is a bit heavy at 2.48GB. It will require some bandwidth and beware of your /var/lib directory if you have a default docker install.
|
* Note that this build will pull in all the parameters so it is a bit heavy at 2.48GB. It will require some bandwidth and beware of your /var/lib directory if you have a default docker install.
|
||||||
|
|
||||||
|
@ -11,11 +11,12 @@ To run locally without to test operation run:
|
||||||
```
|
```
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-p 80:3001 \
|
-p 80:3001 \
|
||||||
ianamunoz/zcash-insight-explorer
|
zcash-hackworks/zcash-insight-explorer
|
||||||
```
|
```
|
||||||
|
|
||||||
The `docker-service.sh` file shows you might might manually run it as a service behind a traefik reverse proxy as seen for example in the `docker-compose.yml`.
|
The `docker-service.sh` file shows you might might manually run it as a service behind a traefik reverse proxy as seen for example in the `docker-compose.yml`.
|
||||||
|
|
||||||
ToDo: tags for versions
|
ToDo: tags for versions
|
||||||
|
ToDo: split params and blockchain into docker volumes
|
||||||
|
|
||||||
Set up ad-hoc [Google Cloud](./docs/ad_hoc_gcp.md) instance.
|
Set up ad-hoc [Google Cloud](./docs/ad_hoc_gcp.md) instance.
|
||||||
|
|
|
@ -31,7 +31,7 @@ services:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == manager
|
- node.role == manager
|
||||||
explorer:
|
explorer:
|
||||||
image: ianamunoz/zcash-insight-explorer:v1.1.1
|
image: zcash-hackworks/zcash-insight-explorer:latest
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
|
|
|
@ -5,4 +5,4 @@ docker service create -t \
|
||||||
--hostname explorer.beta.z.cash \
|
--hostname explorer.beta.z.cash \
|
||||||
--label traefik.port=3001 \
|
--label traefik.port=3001 \
|
||||||
--label traefik.frontend.rule='Host:explorer.beta.z.cash;' \
|
--label traefik.frontend.rule='Host:explorer.beta.z.cash;' \
|
||||||
ianamunoz/insight-explorer-zcash:v1.1.1
|
zcash-hackworks/insight-explorer-zcash:latest
|
||||||
|
|
|
@ -27,7 +27,7 @@ sudo apt-get install git
|
||||||
```
|
```
|
||||||
Clone repo and build image
|
Clone repo and build image
|
||||||
```
|
```
|
||||||
git clone https://github.com/ianamunoz/zcash-insight-explorer.git
|
git clone https://github.com/zcash-hackworks/zcash-insight-explorer.git
|
||||||
cd zcash-insight-explorer
|
cd zcash-insight-explorer
|
||||||
docker build -t zcash-hackworks/zcash-insight-explorer .
|
docker build -t zcash-hackworks/zcash-insight-explorer .
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue