Last active
February 17, 2023 20:45
-
-
Save davisv7/5fa7cc07f34bb810ab652ad864350ec6 to your computer and use it in GitHub Desktop.
Electrs/Polar docker compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '6.9' | |
services: | |
# Block explorer server | |
electrs: | |
image: ghcr.io/vulpemventures/electrs:latest | |
container_name: electrs | |
entrypoint: | |
- /build/electrs | |
command: | |
- -vvvv | |
- --network | |
- regtest | |
- --daemon-dir | |
- /config | |
- --daemon-rpc-addr | |
- host.docker.internal:18443 | |
- --http-addr | |
- 0.0.0.0:3002 | |
ports: | |
- 3002:3002 | |
volumes: | |
- ~/.polar/networks/3/volumes/bitcoind/backend1/:/config #this may need to be changed | |
restart: unless-stopped | |
extra_hosts: | |
- "host.docker.internal:host-gateway" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment