2016-07-17 03:55:16 +03:00
|
|
|
version: '2'
|
|
|
|
services:
|
2017-01-12 03:12:32 +03:00
|
|
|
|
2017-01-13 23:23:30 +03:00
|
|
|
# btc is an image of bitcoin node which used as base image for btcd and
|
|
|
|
# btccli. The environment variables default values determined on stage of
|
|
|
|
# container start within starting script.
|
2017-01-12 03:12:32 +03:00
|
|
|
btc:
|
|
|
|
image: btcd
|
|
|
|
build:
|
|
|
|
context: btcd/
|
|
|
|
volumes:
|
|
|
|
- shared:/rpc
|
2017-05-13 23:22:40 +03:00
|
|
|
- bitcoin:/data
|
2017-01-12 03:12:32 +03:00
|
|
|
environment:
|
2017-01-13 23:23:30 +03:00
|
|
|
- RPCUSER
|
|
|
|
- RPCPASS
|
2017-05-13 23:21:14 +03:00
|
|
|
- NETWORK
|
2017-01-12 03:12:32 +03:00
|
|
|
|
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-13 23:23:30 +03:00
|
|
|
- DEBUG
|
2017-01-12 03:12:32 +03:00
|
|
|
- MINING_ADDRESS
|
|
|
|
entrypoint: ["./start-btcd.sh"]
|
|
|
|
|
|
|
|
btcctl:
|
|
|
|
extends: btc
|
|
|
|
container_name: btcctl
|
|
|
|
links:
|
|
|
|
- "btcd:rpcserver"
|
|
|
|
entrypoint: ["./start-btcctl.sh"]
|
|
|
|
|
2017-05-13 23:22:40 +03:00
|
|
|
|
|
|
|
# ltc is an image of litecoin node which used as base image for ltcd and
|
|
|
|
# ltcctl. The environment variables default values determined on stage of
|
|
|
|
# container start within starting script.
|
|
|
|
ltc:
|
|
|
|
image: ltcd
|
|
|
|
build:
|
|
|
|
context: ltcd/
|
|
|
|
volumes:
|
|
|
|
- shared:/rpc
|
|
|
|
- litecoin:/data
|
|
|
|
environment:
|
|
|
|
- RPCUSER
|
|
|
|
- RPCPASS
|
|
|
|
- NETWORK
|
|
|
|
|
|
|
|
ltcd:
|
|
|
|
extends: ltc
|
|
|
|
container_name: ltcd
|
|
|
|
environment:
|
|
|
|
- DEBUG
|
|
|
|
- MINING_ADDRESS
|
|
|
|
entrypoint: ["./start-ltcd.sh"]
|
|
|
|
|
|
|
|
ltcctl:
|
|
|
|
extends: ltc
|
|
|
|
container_name: ltcctl
|
|
|
|
links:
|
|
|
|
- "ltcd:rpcserver"
|
|
|
|
entrypoint: ["./start-ltcctl.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-13 23:23:30 +03:00
|
|
|
- RPCUSER
|
|
|
|
- RPCPASS
|
2017-05-13 23:21:14 +03:00
|
|
|
- NETWORK
|
2017-05-13 23:22:40 +03:00
|
|
|
- CHAIN
|
2017-01-13 23:23:30 +03:00
|
|
|
- DEBUG
|
2016-07-17 03:55:16 +03:00
|
|
|
volumes:
|
2017-01-12 03:12:32 +03:00
|
|
|
- shared:/rpc
|
|
|
|
entrypoint: ["./start-lnd.sh"]
|
|
|
|
|
2017-07-04 23:25:24 +03:00
|
|
|
lnd_ltc:
|
2017-01-12 03:12:32 +03:00
|
|
|
extends: lnd
|
2017-07-04 23:25:24 +03:00
|
|
|
container_name: lnd_ltc
|
2017-01-12 03:12:32 +03:00
|
|
|
links:
|
2017-07-04 23:25:24 +03:00
|
|
|
- "ltcd:blockchain"
|
2017-01-12 03:12:32 +03:00
|
|
|
|
2017-07-04 23:25:24 +03:00
|
|
|
lnd_btc:
|
2017-01-12 03:12:32 +03:00
|
|
|
extends: lnd
|
2017-07-04 23:25:24 +03:00
|
|
|
container_name: lnd_btc
|
2017-01-12 03:12:32 +03:00
|
|
|
links:
|
2017-05-13 23:22:40 +03:00
|
|
|
- "btcd:blockchain"
|
2017-01-12 03:12:32 +03:00
|
|
|
|
2016-07-17 03:55:16 +03:00
|
|
|
volumes:
|
2018-01-07 13:12:57 +03:00
|
|
|
# shared volume is need to store the btcd rpc certificates and use it within
|
2017-01-13 23:23:30 +03:00
|
|
|
# btcctl and lnd containers.
|
2017-01-12 03:12:32 +03:00
|
|
|
shared:
|
|
|
|
driver: local
|
2017-01-13 23:24:07 +03:00
|
|
|
|
2018-02-07 06:11:11 +03:00
|
|
|
# bitcoin volume is needed for maintaining blockchain persistence
|
2017-01-13 23:24:07 +03:00
|
|
|
# during btcd container recreation.
|
2017-05-13 23:22:40 +03:00
|
|
|
bitcoin:
|
|
|
|
driver: local
|
|
|
|
|
2018-02-07 06:11:11 +03:00
|
|
|
# litecoin volume is needed for maintaining blockchain persistence
|
2017-05-13 23:22:40 +03:00
|
|
|
# during ltcd container recreation.
|
|
|
|
litecoin:
|
2017-01-13 23:24:07 +03:00
|
|
|
driver: local
|