docker-compose setup example?
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker-compose
- Domain
- devops, documentation
Research direction
Review the reported Docker Compose configuration and the RPC credential error in the issue body. Document a working Docker Compose setup example for Esplora, with the RPC authentication configuration clarified; done means a newcomer can use the example without encountering the reported credential error.
Written by the indexing model from the issue text.
Description
the following one encountered an issue with esplora: error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set. See -rpcpassword and -stdinrpcpass. Configuration file: (/data/.bitcoin.conf)
error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set. See -rpcpassword and -stdinrpcpass. Configuration file: (/data/.bitcoin.conf)
version: '3.7'
services:
bitcoind:
image: ruimarinho/bitcoin-core:latest
ports:
- 18443:18443
- 30001:30001
command:
- "-daemon=0"
- "-debug=1"
- "-debugexclude=libevent"
- "-debugexclude=leveldb"
- "-regtest=1"
- "-rpcbind=0.0.0.0:18443"
- "-rpcuser=devnet"
- "-rpcpassword=devnet"
- "-rpcallowip=0.0.0.0/0"
- "-server=1"
- "-txindex=1"
- "-prune=0"
- "-fallbackfee=0.0001"
- "-zmqpubhashtx=tcp://0.0.0.0:30001"
- "-zmqpubhashblock=tcp://0.0.0.0:30001"
- "-zmqpubrawblock=tcp://0.0.0.0:30002"
- "-zmqpubrawtx=tcp://0.0.0.0:30002"
volumes:
- "./chaindata/bitcoind:/home/bitcoin/.bitcoin"
networks:
testing_net:
ipv4_address: 172.16.238.11
restart: always
electrs:
image: blockstream/esplora:electrs-latest
ports:
- 3000:3000
- 50001:50001
user: root
command:
- "/app/electrs_bitcoin/bin/electrs"
- "-vvvv"
- "--timestamp"
- "--daemon-dir=/app/.bitcoin"
- "--db-dir=/app/db"
- "--network=regtest"
- "--http-addr=0.0.0.0:3000"
- "--electrum-rpc-addr=0.0.0.0:50001"
- "--daemon-rpc-addr=172.16.238.11:18443"
- "--cookie=devnet:devnet"
- "--electrum-txs-limit=1000000"
- "--cors=*"
- "--utxos-limit=1000000"
volumes:
- "./chaindata/explorer:/app/db"
- "./chaindata/bitcoind:/app/.bitcoin"
networks:
testing_net:
ipv4_address: 172.16.238.12
restart: always
esplora:
image: blockstream/esplora:latest
network_mode: "host"
environment:
- API_URL=http://devnet:devnet@localhost:3000
command:
- "/srv/explorer/run.sh"
- "bitcoin-regtest"
- "explorer"
volumes:
- "./chaindata/bitcoind:/data"
restart: always
networks:
testing_net:
ipam:
driver: default
config:
- subnet: 172.16.238.0/24
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 527
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 4
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Blockstream/esplora
-
testOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
Blockstream/esplora#676 ·
-
Split style.css into separate filesMay be free again @Randy808 claimed this 83 days ago, and no pull request is open. Open
Blockstream/esplora#665 · 1 assignee ·
-
"⌘K" may be macOS-specificPossibly taken @Tyagiquamar claimed this 57 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
Blockstream/esplora#664 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Blockstream/esplora#651 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Blockstream/esplora#637 ·
All issues in Blockstream/esplora
Similar issues
-
documentation enhancement first-time-contributor good first issue
Difficulty 1/5 Under an hour Newbie friendliness 84/100
SasanLabs/VulnerableApp#961 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Band: hits() drops git grep rows from CRLF files -> false "callers open" (and missed defs in reuse)Possibly taken @zhangkom claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DietrichGebert/ponytail#1543 ·
Maintainers usually reply within 2 days
-
marketing
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Fei2411/DeepSeek-Bot#2090 ·