document ports

This commit is contained in:
Damian Mee 2019-05-11 14:48:23 +07:00
parent b66a4d535e
commit 8c00920b3d
No known key found for this signature in database
GPG Key ID: 2F961EAB8789725D

View File

@ -86,7 +86,17 @@ VOLUME /root/.bitcoin
COPY --from=bitcoin-core /opt /opt
EXPOSE 8080 8332 8333 18332 18333 18444 28333 28332
# REST interface
EXPOSE 8080
# P2P network (mainnet, testnet & regnet respectively)
EXPOSE 8333 18333 18444
# RPC interface (mainnet, testnet & regnet respectively)
EXPOSE 8332 18332 18443
# ZMQ ports (for transactions & blocks respectively)
EXPOSE 28332 28333
ENTRYPOINT ["bitcoind"]
CMD ["bitcoind", "-zmqpubrawblock=tcp://0.0.0.0:28332", "-zmqpubrawtx=tcp://0.0.0.0:28333"]