1
0
Files
btcpayserver-docker/docker-compose-generator/docker-fragments/opt-add-electrum-ps.yml
maltokyo cde0756a54 Integrate EPS (Electrum Personal Server) (#227)
* Integrate EPS (Electrum Personal Server)

After the ElectrumX integration in the last release, I thought that some people may prefer the Electrum Personal Server (EPS) approach, which can only serve specific pre-determined wallets (using XPUBS).  EPS cannot serve as a server for ad-hoc wallets with connections for many people, that ElectrumX delivers.  The upside pf EPS is that it is much lighter, and doesn't require txindex=1.

I will integrate it with this pull request, but it might take a while, as I have some busy weeks ahead of me.

* Update opt-add-electrum-ps.yml

* Update opt-add-electrum-ps.yml

* Update opt-add-electrum-ps.yml

* Update opt-add-electrum-ps.yml

* fix persistent data directory

* Break up monolithic bitcoind var

* fix bitcoind daemon name

* Update opt-add-electrum-ps.yml

* Update opt-add-electrum-ps.yml

* Update opt-add-electrum-ps.yml

* Fixed image name

* fixed bitcoind rpc login credentials

* Update opt-add-electrum-ps.yml

* Add $BTCPAY_EPS_XPUB

Add $BTCPAY_EPS_XPUB for Electrum Personal Server Integration

* Update opt-add-electrum-ps.yml

* Update opt-add-electrum-ps.yml

* Update README.md

* Update README.md

* Update build.sh

* Update opt-add-electrum-ps.yml

* Update README.md

Co-authored-by: peleion <github@peleion.com>
2020-02-14 18:16:36 +09:00

24 lines
568 B
YAML

version: "3"
services:
bitcoind:
environment:
BITCOIN_EXTRA_ARGS: |
rpcauth=eps:3d1cff5ee81ddeb3ba94483150310e74$$4626aeb95b2a2b066eac8833c1ad936f65cf7492aa836ec8f173ff65ac428a0e
electrum_ps:
image: docker.io/peleion/eps-docker
restart: unless-stopped
ports:
- "50002:50002"
volumes:
- "electrum_ps_datadir:/srv"
environment:
- HOST=bitcoind
- PORT=43782
- RPC_USER=eps
- RPC_PASSWORD=cmhKyeLSco35KVhecK3blYcHFx73xrJ1fOQtjtmiKks
- XPUB=${EPS_XPUB}
volumes:
electrum_ps_datadir: