File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ services:
22 openmina-node :
33 image : openmina/openmina:${OPENMINA_TAG:-latest}
44 entrypoint : >
5- sh -c "openmina node --producer-key /root/.openmina/producer-key $${COINBASE_RECEIVER:+--coinbase-receiver $$COINBASE_RECEIVER}"
5+ sh -c "openmina node --producer-key /root/.openmina/producer-key $${COINBASE_RECEIVER:+--coinbase-receiver $$COINBASE_RECEIVER} $${OPENMINA_LIBP2P_EXTERNAL_IP:+--libp2p-external-ip $$OPENMINA_LIBP2P_EXTERNAL_IP} "
66 ports :
77 - " 3000:3000"
88 - " 8302:8302"
@@ -11,6 +11,7 @@ services:
1111 environment :
1212 MINA_PRIVKEY_PASS : " ${MINA_PRIVKEY_PASS:-}"
1313 COINBASE_RECEIVER : " ${COINBASE_RECEIVER:-}"
14+ OPENMINA_LIBP2P_EXTERNAL_IP : " ${OPENMINA_LIBP2P_EXTERNAL_IP}"
1415
1516 frontend :
1617 image : openmina/frontend:${OPENMINA_FRONTEND_TAG:-latest}
Original file line number Diff line number Diff line change 11services :
22 openmina-node :
33 image : openmina/openmina:${OPENMINA_TAG:-latest}
4- command : [ "node" ]
4+ entrypoint : >
5+ sh -c "openmina node $${OPENMINA_LIBP2P_EXTERNAL_IP:+--libp2p-external-ip $$OPENMINA_LIBP2P_EXTERNAL_IP}"
6+ volumes :
7+ - ./openmina-workdir:/root/.openmina:rw
58 ports :
69 - " 3000:3000"
710 - " 8302:8302"
11+ environment :
12+ OPENMINA_LIBP2P_EXTERNAL_IP : " ${OPENMINA_LIBP2P_EXTERNAL_IP}"
813
914 frontend :
1015 image : openmina/frontend:${OPENMINA_FRONTEND_TAG:-latest}
You can’t perform that action at this time.
0 commit comments