-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish on Docker Hub #67
Comments
Hey @jimmysong ! Thanks, actually I've just registered the mempool organization on Docker Hub a week ago and we are planning to do it soon. I should have it published within the next few days. |
Great stuff. I'll be keen to try when dockerised! |
@jimmysong I sent you a DM on Keybase, but it's probably best if I explain here as well: The V1 version of mempool is now published at https://hub.docker.com/r/mempool/mempool - can you please test it and let me know how it works? For V1, the only requirement is Bitcoin Core RPC, and has basic explorer functionality. The V2 version of mempool, which has full explorer functionality (currently running on mempool.space), is not yet published on Docker Hub because the main issue is that it requires a fully indexed electrs instance and it seems Blockstream doesn't publish electrs as a standalone Docker image yet (only together with their esplora block explorer) so we would have to make our own Docker for this first. It's also quite beefy hardware requirements for running electrs - indexing it on a Raspberry Pi 4 would easily take a week or longer. I'm going to leave this issue open until we figure out the V2 docker image and hear back from users that it works well for their setup. Also at some point we will need documentation for the Dockerfile configuration https://github.com/mempool/mempool/blob/master/Dockerfile |
@wiz can confirm mempool/mempool:v1.0 works fine. I do wish I could just pull mempool/mempool and it would get me the latest. I can't wait for v2.0! My own block explorer with a fee API is exactly what I would want in order to not have to depend on a third party. |
Cool. For the "latest" tag built from our master branch (aka v2), I'll keep working towards getting this on Docker, but again the issue is having to run a very heavy electrs instance index of the entire blockchain, which requires over 1 TB of SSD storage and beefy hardware. Can you start preparing an electrs backend to run mempool V2 on your own hardware? Also I am waiting to hear back from Blockstream if they're going to publish electrs on their Docker Hub, and if so we can integrate with that image. And please come chat with us on Keybase 😉 |
I'll log an issue on Blockstream's electrs repo and see if they'll publish something. In the meantime, I'll build the image and start syncing. Also, I don't do KeyBase. Happy to chat on TG, though. Same username as here. |
Would it not be possible to use ElectrumX instead of Electrs? This is already fully dockerised and we have it running and integrated with BTCPay server. Please consider - and I'd be fully willing to help out including integration into BTCPay server if @NicolasDorier agrees! |
@jimmysong I already pushed them internally and also published electrs on the mempool docker http://hub.docker.com/r/mempool/electrs @maltokyo nah we need the blockstream fork |
@wiz, the docker pull command seems to be missing the manifest. Maybe I need to wait? |
Ah sorry you're right, the build status is still "in progress" so please try again in a few minutes. Also I don't have Telegram because I don't have a phone number, wanna DM me on Twitter? |
It took over an hour to build but the docker image is finally available for mempool/electrs |
Can this be also used as a standard Electrs implementation for electrum wallet? |
@wiz, confirmed that the image is downloadable. I have the .bitcoin directory mounted in my bitcoind docker, where do I mount that for electrs? |
The documentation for electrs says default location is
|
I managed to get electrs docker to run, but it keeps panicking:
|
ok this was a permission problem to the bitcoin data directory. it's no longer an issue. |
@jimmysong could you share your |
I think my electrs instance is running and synced? What's next for 2.0? |
@windsok I didn't use docker-compose, I used this:
|
@jimmysong just to give you an update, the reason this has been taking longer than originally expected is due to the advanced setup and configuration required to run 3 electrs instances with 3 fullnode instances, but I'm making progress and have a non-docker setup guide here https://github.com/mempool/mempool/tree/master/production |
@jimmysong We finally shipped mempool v2.1 with docker support, and the images are published https://hub.docker.com/u/mempool I will add some instructions to our repo's top-level README with an example |
I built the Docker image locally for v1.0 (master seems to end with an error). It would be great if you could create an account on Docker Hub so people can pull and run this easily instead of building from scratch.
BTW, great job! Super slick and works well with the bitcoind node I'm also running on Docker. If it's not too much to ask, maybe a docker-compose file with the right containers communicating with each other (including a separate nginx image) would be even better.
The text was updated successfully, but these errors were encountered: