Skip to content

Instantly share code, notes, and snippets.

@davisv7
Last active February 17, 2023 20:45
Show Gist options
  • Save davisv7/5fa7cc07f34bb810ab652ad864350ec6 to your computer and use it in GitHub Desktop.
Save davisv7/5fa7cc07f34bb810ab652ad864350ec6 to your computer and use it in GitHub Desktop.
Electrs/Polar docker compose
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