SChernykh / p2pool

Decentralized pool for Monero mining
GNU General Public License v3.0
1.03k stars 123 forks source link

docker-compose node for other devices #275

Closed wolfderechter closed 10 months ago

wolfderechter commented 10 months ago

I'm having issues using the dockerized p2pool node. Using the miner within the docker compose works but when trying to use another miner on the network with the node I can't connect. I noticed in the docker compose the zmq port 18083 isn't exposed. Could this be the issue?

SChernykh commented 10 months ago

You only need to expose port 3333 (Stratum mining port) to be able to connect with XMRig.

wolfderechter commented 10 months ago

You only need to expose port 3333 (Stratum mining port) to be able to connect with XMRig.

image I tried these values in gupax but no luck, when I added the 18083 port in the docker-compose it works

SChernykh commented 10 months ago

Ah, yes - if you want to use Monero node for mining with P2Pool, then you need to expose 18081 and 18083. If you connect XMRig to P2Pool node, you only need to expose 3333.

SChernykh commented 10 months ago

https://github.com/SChernykh/p2pool/commit/8fd45cc977a72d11e608e35805c435a8353f3d16 should fix it.

wolfderechter commented 10 months ago

Yep thanks, also for p2pool in general! Absolutely awesome