haveno icon indicating copy to clipboard operation
haveno copied to clipboard

dockerfiles and docker-compose.yml for running test network

Open erciccione opened this issue 2 years ago • 9 comments

Closes #284

~~Posting as draft because~~ we have to make sure we introduce all functionalities required by @haveno-dex/frontend and that everything works as expected.

erciccione avatar May 11 '22 06:05 erciccione

@erciccione Tried to run the docker compose containers and everything worked well, but when trying to run the test cases of haveno-ts, all tests fail because the arbitrator doesn't run. how can we solve that issue?

abouolia avatar May 31 '22 16:05 abouolia

Nice work on this @erciccione :)

CryptoGrampy avatar May 31 '22 19:05 CryptoGrampy

@abouolia i just added arbitrator-daemon to the compose file with the last commit. Let me know if that resolves the issue.

@CryptoGrampy thanks :)

I'm having some problems reaching the pricenode with the local instances, but i seem to be able to curl the feed just fine. Please let me know if you are also seeing this issue.

erciccione avatar Jun 01 '22 08:06 erciccione

@erciccione Great work, that would be better if that pushed the docker images to the public registry, building these images on local machines takes a lot of resources and time. Thanks again.

abouolia avatar Jun 01 '22 16:06 abouolia

@erciccione "--nodePort=4444" NOT --"nodePort=4444" in docker-compose file arbitrator-daemon line.

abouolia avatar Jun 01 '22 16:06 abouolia

All daemons work great, except the arbitrator-daemon keep getting

 [HavenoDaemonMain] WARN  b.c.a.CoreMoneroConnectionsService: Could not update daemon info: No daemon connection 

abouolia avatar Jun 01 '22 17:06 abouolia

@abouolia

would be better if that pushed the docker images to the public registry, building these images on local machines takes a lot of resources and time

Yes, once we have a stable and working image, we plan to add it to docker hub :)

"--nodePort=4444" NOT --"nodePort=4444" in docker-compose file arbitrator-daemon line.

Thanks, will fix

except the arbitrator-daemon keep getting

Will look into it. Note that when i started to work on the docker images, arbitrator-daemon didn't exist. So in the meantime, you should be able to run arbitrator-desktop (and register the arbitrator) in the UI for running the tests.

erciccione avatar Jun 02 '22 07:06 erciccione

@erciccione Tried to run arbitrator-desktop but was unable to recognize the seednode. keep getting There's no seed nodes error.

I think even funding-wallet daemon should be in docker compose.

abouolia avatar Jun 07 '22 20:06 abouolia

My laptop recnetly broke and i'm waiting for a new one. I'll resume work on this as soon as i can.

erciccione avatar Jun 08 '22 09:06 erciccione