File tree 3 files changed +14
-18
lines changed
3 files changed +14
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ FROM alpine:3.19
69
69
70
70
COPY --from=builder /usr/local/bin/* /usr/local/bin/
71
71
72
- COPY bitcoin.conf /etc/bitcoin/bitcoin.conf
73
-
74
72
RUN adduser -D bitcoin
75
73
76
74
USER bitcoin
@@ -82,13 +80,15 @@ VOLUME /home/bitcoin/.bitcoin
82
80
# REST interface
83
81
EXPOSE 8080
84
82
85
- # P2P network (mainnet, testnet & regnet respectively)
86
- EXPOSE 8333 18333 18444
83
+ # P2P network (mainnet, testnet, regtest & signet respectively)
84
+ EXPOSE 8333 18333 18444 38333
87
85
88
- # RPC interface (mainnet, testnet & regnet respectively)
89
- EXPOSE 8332 18332 18443
86
+ # RPC interface (mainnet, testnet, regtest & signet respectively)
87
+ EXPOSE 8332 18332 18443 38332
90
88
91
89
# ZMQ ports (for transactions & blocks respectively)
92
90
EXPOSE 28332 28333
93
91
94
- CMD ["/usr/local/bin/bitcoind" , "-conf=/etc/bitcoin/bitcoin.conf" ]
92
+ ENTRYPOINT ["/usr/local/bin/bitcoind" , "-nodebuglogfile" ]
93
+
94
+ CMD ["-zmqpubrawblock=tcp://0.0.0.0:28332" , "-zmqpubrawtx=tcp://0.0.0.0:28333" ]
Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ FROM alpine:3.19
69
69
70
70
COPY --from=builder /usr/local/bin/* /usr/local/bin/
71
71
72
- COPY bitcoin.conf /etc/bitcoin/bitcoin.conf
73
-
74
72
RUN adduser -D bitcoin
75
73
76
74
USER bitcoin
@@ -82,13 +80,15 @@ VOLUME /home/bitcoin/.bitcoin
82
80
# REST interface
83
81
EXPOSE 8080
84
82
85
- # P2P network (mainnet, testnet & regnet respectively)
86
- EXPOSE 8333 18333 18444
83
+ # P2P network (mainnet, testnet, regtest & signet respectively)
84
+ EXPOSE 8333 18333 18444 38333
87
85
88
- # RPC interface (mainnet, testnet & regnet respectively)
89
- EXPOSE 8332 18332 18443
86
+ # RPC interface (mainnet, testnet, regtest & signet respectively)
87
+ EXPOSE 8332 18332 18443 38332
90
88
91
89
# ZMQ ports (for transactions & blocks respectively)
92
90
EXPOSE 28332 28333
93
91
94
- CMD ["/usr/local/bin/bitcoind" , "-conf=/etc/bitcoin/bitcoin.conf" ]
92
+ ENTRYPOINT ["/usr/local/bin/bitcoind" , "-nodebuglogfile" ]
93
+
94
+ CMD ["-zmqpubrawblock=tcp://0.0.0.0:28332" , "-zmqpubrawtx=tcp://0.0.0.0:28333" ]
You can’t perform that action at this time.
0 commit comments