swapper-org / NodeChain

Nodechain is a service that allows you to create nodes on a blockchain and connect to them natively through APIs. The goal is to allow the user to build their own nodes natively without having to rely on external services.
MIT License
7 stars 5 forks source link

Mainnets are failing with a testnet of the same currency running #119

Closed phoenix-web3 closed 2 years ago

phoenix-web3 commented 2 years ago

Issue

@bridgedragon has reported that when you start a mainnet of a currency while its testnet is running, some services fail.

bridgedragon commented 2 years ago

I think that it is caused by reusing hostnames across docker-composes.

My proposal is to rename the tags, relating them with their network. For example, "bitcoincore" tag would become "bitcoincore-testnet" in the testnet and "bitcoincore-mainnet" in the mainnet.

The incompatibilities would be caused by using the same hostnames in the same network.