2016-07-17 03:55:16 +03:00
|
|
|
version: '2'
|
|
|
|
services:
|
2017-01-12 03:12:32 +03:00
|
|
|
|
|
|
|
btc:
|
|
|
|
image: btcd
|
|
|
|
build:
|
|
|
|
context: btcd/
|
|
|
|
volumes:
|
|
|
|
- shared:/rpc
|
|
|
|
environment:
|
|
|
|
- RPCUSER="devuser"
|
|
|
|
- RPCPASS="devpass"
|
|
|
|
|
2016-07-17 03:55:16 +03:00
|
|
|
btcd:
|
2017-01-12 03:12:32 +03:00
|
|
|
extends: btc
|
|
|
|
container_name: btcd
|
2016-08-30 01:17:48 +03:00
|
|
|
environment:
|
2017-01-12 03:12:32 +03:00
|
|
|
- DEBUG="debug"
|
|
|
|
- MINING_ADDRESS
|
|
|
|
entrypoint: ["./start-btcd.sh"]
|
|
|
|
|
|
|
|
btcctl:
|
|
|
|
extends: btc
|
|
|
|
container_name: btcctl
|
|
|
|
links:
|
|
|
|
- "btcd:rpcserver"
|
|
|
|
entrypoint: ["./start-btcctl.sh"]
|
|
|
|
|
2016-07-17 03:55:16 +03:00
|
|
|
lnd:
|
2017-01-12 03:12:32 +03:00
|
|
|
image: lnd
|
|
|
|
build:
|
|
|
|
context: ../
|
|
|
|
dockerfile: docker/lnd/Dockerfile
|
2016-08-30 01:17:48 +03:00
|
|
|
environment:
|
2017-01-12 03:12:32 +03:00
|
|
|
- RPCUSER="devuser"
|
|
|
|
- RPCPASS="devpass"
|
|
|
|
- DEBUG="debug"
|
2016-07-17 03:55:16 +03:00
|
|
|
volumes:
|
2017-01-12 03:12:32 +03:00
|
|
|
- shared:/rpc
|
|
|
|
entrypoint: ["./start-lnd.sh"]
|
|
|
|
|
|
|
|
alice:
|
|
|
|
extends: lnd
|
|
|
|
container_name: alice
|
|
|
|
links:
|
|
|
|
- btcd
|
|
|
|
|
|
|
|
bob:
|
|
|
|
extends: lnd
|
|
|
|
container_name: bob
|
|
|
|
links:
|
2016-07-17 03:55:16 +03:00
|
|
|
- btcd
|
2017-01-12 03:12:32 +03:00
|
|
|
|
2016-07-17 03:55:16 +03:00
|
|
|
volumes:
|
2017-01-12 03:12:32 +03:00
|
|
|
shared:
|
|
|
|
driver: local
|