From 39813b24e282fbd077de0ea2539b5c042bfc1f5d Mon Sep 17 00:00:00 2001 From: Ian Munoz Date: Thu, 17 Jan 2019 19:59:19 +0000 Subject: [PATCH 1/2] update readme with zcash-hackworks. todo: volumes --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9cba496..c18aafc 100644 --- a/README.md +++ b/README.md @@ -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: -`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. @@ -11,11 +11,12 @@ To run locally without to test operation run: ``` docker run -d \ -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`. ToDo: tags for versions +ToDo: split params and blockchain into docker volumes Set up ad-hoc [Google Cloud](./docs/ad_hoc_gcp.md) instance. From 634abce90bf585a518d838a055e7fe4f42d995b1 Mon Sep 17 00:00:00 2001 From: Ian Munoz Date: Fri, 18 Jan 2019 18:22:30 +0000 Subject: [PATCH 2/2] update org to hackworks --- docker-compose.yml | 2 +- docker-service.sh | 2 +- docs/ad_hoc_gcp.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 392b009..dd2a946 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ services: constraints: - node.role == manager explorer: - image: ianamunoz/zcash-insight-explorer:v1.1.1 + image: zcash-hackworks/zcash-insight-explorer:latest deploy: placement: constraints: diff --git a/docker-service.sh b/docker-service.sh index 84f1553..cacf5d9 100755 --- a/docker-service.sh +++ b/docker-service.sh @@ -5,4 +5,4 @@ docker service create -t \ --hostname explorer.beta.z.cash \ --label traefik.port=3001 \ --label traefik.frontend.rule='Host:explorer.beta.z.cash;' \ - ianamunoz/insight-explorer-zcash:v1.1.1 + zcash-hackworks/insight-explorer-zcash:latest diff --git a/docs/ad_hoc_gcp.md b/docs/ad_hoc_gcp.md index e041d43..1ad2b7e 100644 --- a/docs/ad_hoc_gcp.md +++ b/docs/ad_hoc_gcp.md @@ -27,7 +27,7 @@ sudo apt-get install git ``` 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 docker build -t zcash-hackworks/zcash-insight-explorer . ```