Skip to content

Commit

Permalink
Dockerized
Browse files Browse the repository at this point in the history
  • Loading branch information
BScrk committed Jan 16, 2018
1 parent 1597ab8 commit c8129ad
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8000
CMD [ "npm", "start" ]
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,26 @@ exemple : `./miner --server 192.168.0.10 --user miner_1 --pass "x" --port 8000 -
exemple : `./miner --server $192.168.0.10 --port 8000 --user miner_1 --pass "x"`


# Docker

## Official container ...
Find the official image on the Docker Hub [bscrk/zecproxy](https://hub.docker.com/r/bscrk/zecproxy/) :

* `git clone https://github.com/BScrk/zecproxy.git`
* `cd zec_stratum`
* edit config file
* `docker build . -t zecproxy`


## ... or make your own
Setup and make your own image :
* `git clone https://github.com/BScrk/zecproxy.git`
* `cd zec_stratum`
* edit config file
* `docker build . -t zecproxy`
* `docker run -p 8000:8000 -d zecproxy`


# Donations
* ETH: 0x1212eF39d945aB9A9568Aa5a72c5CBA99Bbe46c1
* ZEC: t1YAdYcnKR2ozADWPUvmgnDgf86gfsxQEEE
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"threshold" : 5
},
"debug" : false
}
}
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "1.0.8",
"description": "Zcash Stratum Proxy",
"main": "proxy.js",
"repository": {
"type": "git",
"url": "https://github.com/BScrk/zecproxy.git"
} ,
"scripts": {
"start": "node proxy.js"
},
Expand Down

0 comments on commit c8129ad

Please sign in to comment.