Skip to content

Commit

Permalink
Using --api-port for Read-Only Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
onelapahead authored Jan 18, 2021
1 parent 1d08a6a commit a791f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ ENV GPU_FORCE_64BIT_PTR=0 \
WORKER_ID=rdu-01a

ENTRYPOINT ["sh", "-c"]
CMD ["ethminer -U -P stratum+tls12://${WALLET_ADDRESS}.${WORKER_ID}@${MINE_POOL}:${STRATUM_TLS_PORT} --report-hashrate --api-bind -${API_PORT}"]
EXPOSE ${API_PORT}/tcp
CMD ["ethminer -U -P stratum+tls12://${WALLET_ADDRESS}.${WORKER_ID}@${MINE_POOL}:${STRATUM_TLS_PORT} --report-hashrate --api-port -${API_PORT}"]
EXPOSE ${API_PORT}/tcp

0 comments on commit a791f34

Please sign in to comment.