Open ArgiesDario opened 3 months ago
It's not clear to me what you're trying to achieve and how Docker solves it (I think it doesn't). Do you want to just setup bitcoind+electrs? Then a docker image could work. But what if you later want to add something else such as LND? You need a completely different docker-compose.yml And if you're incapable of writing it yourself you'll have to rely one someone to write it for you. Electrs certainly isn't a project that should take care of these things.
I suggest you take a look at packaged bitcoin applications instead since packaging can actually solve this problem (and a bunch of others you probably didn't know exist). You can dynamically add or remove components with just one command without having to edit config files or do other kind of busywork. I maintain my own which could be exactly what you need. The other well-known alternative is nix-bitcoin but sadly nix is quite geeky so probably not for you.
My goal is to set up a mempool bitcoin explorer in my own server with Docker, and I need a Electrum Server to do so. In here https://mempool.space/docs/faq#address-lookup-issues explains that electrs is the one with best option "for its low resource requirements"
I was reading this documentation: https://github.com/mempool/mempool/tree/master/docker#configure-with-bitcoin-core--electrum-server, and I was hoping to get electrs by adding it in my docker-compose, but looks like it is not that simple, so I raised this ticket
I'll take a look to the alternatives you mentioned, thanks!
OK, just make sure your mempool instance is not public because that'd effectively DoS your electrs.
Sadly mempool.space is not yet packaged in CADR, so you might consider other alternatives. Also I'm not sure if it's even possible to do so - I put a requirement of supporting custom root path.
BTW I've remembered that I've previously written about packaging in more details if it interests you: https://github.com/Kixunil/programming_writings/blob/master/packaging_is_not_dead.md
Is your feature request related to a problem? Please describe. For anyone (newbies like me) running Bitcoin Core with Docker, would make our lifes much easier to have a Docker Image already built instead of doing it from source
Describe the solution you'd like Add a Docker Image to DockerHub with a docker-compose.yml example on how to set it up
Describe alternatives you've considered I saw this old issue: https://github.com/romanz/electrs/issues/323 aiming for the same thing, and having this docker-compose.yml as result: https://github.com/lukechilds/electrs-next/blob/master/docker-compose.yml. This is great but a Docker Image in DockerHub would be perfect
Additional context Nothing, thanks for giving it a try :)