2016-07-17 02:55:16 +02:00
|
|
|
version: '2'
|
|
|
|
services:
|
2017-01-12 01:12:32 +01:00
|
|
|
|
2017-01-13 21:23:30 +01: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 01:12:32 +01:00
|
|
|
btc:
|
|
|
|
image: btcd
|
|
|
|
build:
|
|
|
|
context: btcd/
|
|
|
|
volumes:
|
|
|
|
- shared:/rpc
|
2017-05-13 22:22:40 +02:00
|
|
|
- bitcoin:/data
|
2017-01-12 01:12:32 +01:00
|
|
|
environment:
|
2017-01-13 21:23:30 +01:00
|
|
|
- RPCUSER
|
|
|
|
- RPCPASS
|
2017-05-13 22:21:14 +02:00
|
|
|
- NETWORK
|
2017-01-12 01:12:32 +01:00
|
|
|
|
2016-07-17 02:55:16 +02:00
|
|
|
btcd:
|
2017-01-12 01:12:32 +01:00
|
|
|
extends: btc
|
|
|
|
container_name: btcd
|
2016-08-30 00:17:48 +02:00
|
|
|
environment:
|
2017-01-13 21:23:30 +01:00
|
|
|
- DEBUG
|
2017-01-12 01:12:32 +01:00
|
|
|
- MINING_ADDRESS
|
2019-05-15 10:35:03 +02:00
|
|
|
- NETWORK
|
2017-01-12 01:12:32 +01:00
|
|
|
entrypoint: ["./start-btcd.sh"]
|
|
|
|
|
|
|
|
btcctl:
|
|
|
|
extends: btc
|
|
|
|
container_name: btcctl
|
|
|
|
links:
|
|
|
|
- "btcd:rpcserver"
|
|
|
|
entrypoint: ["./start-btcctl.sh"]
|
|
|
|
|
2017-05-13 22:22:40 +02: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
|
2019-05-15 10:35:03 +02:00
|
|
|
- NETWORK
|
2017-05-13 22:22:40 +02:00
|
|
|
entrypoint: ["./start-ltcd.sh"]
|
|
|
|
|
|
|
|
ltcctl:
|
|
|
|
extends: ltc
|
|
|
|
container_name: ltcctl
|
|
|
|
links:
|
|
|
|
- "ltcd:rpcserver"
|
|
|
|
entrypoint: ["./start-ltcctl.sh"]
|
|
|
|
|
2016-07-17 02:55:16 +02:00
|
|
|
lnd:
|
2017-01-12 01:12:32 +01:00
|
|
|
image: lnd
|
|
|
|
build:
|
|
|
|
context: ../
|
|
|
|
dockerfile: docker/lnd/Dockerfile
|
2016-08-30 00:17:48 +02:00
|
|
|
environment:
|
2017-01-13 21:23:30 +01:00
|
|
|
- RPCUSER
|
|
|
|
- RPCPASS
|
2017-05-13 22:21:14 +02:00
|
|
|
- NETWORK
|
2017-05-13 22:22:40 +02:00
|
|
|
- CHAIN
|
2017-01-13 21:23:30 +01:00
|
|
|
- DEBUG
|
2016-07-17 02:55:16 +02:00
|
|
|
volumes:
|
2017-01-12 01:12:32 +01:00
|
|
|
- shared:/rpc
|
|
|
|
entrypoint: ["./start-lnd.sh"]
|
|
|
|
|
2017-07-04 22:25:24 +02:00
|
|
|
lnd_ltc:
|
2017-01-12 01:12:32 +01:00
|
|
|
extends: lnd
|
2017-07-04 22:25:24 +02:00
|
|
|
container_name: lnd_ltc
|
2017-01-12 01:12:32 +01:00
|
|
|
links:
|
2017-07-04 22:25:24 +02:00
|
|
|
- "ltcd:blockchain"
|
2017-01-12 01:12:32 +01:00
|
|
|
|
2017-07-04 22:25:24 +02:00
|
|
|
lnd_btc:
|
2017-01-12 01:12:32 +01:00
|
|
|
extends: lnd
|
2017-07-04 22:25:24 +02:00
|
|
|
container_name: lnd_btc
|
2017-01-12 01:12:32 +01:00
|
|
|
links:
|
2017-05-13 22:22:40 +02:00
|
|
|
- "btcd:blockchain"
|
2017-01-12 01:12:32 +01:00
|
|
|
|
2016-07-17 02:55:16 +02:00
|
|
|
volumes:
|
2018-01-07 11:12:57 +01:00
|
|
|
# shared volume is need to store the btcd rpc certificates and use it within
|
2017-01-13 21:23:30 +01:00
|
|
|
# btcctl and lnd containers.
|
2017-01-12 01:12:32 +01:00
|
|
|
shared:
|
|
|
|
driver: local
|
2017-01-13 21:24:07 +01:00
|
|
|
|
2018-02-07 04:11:11 +01:00
|
|
|
# bitcoin volume is needed for maintaining blockchain persistence
|
2017-01-13 21:24:07 +01:00
|
|
|
# during btcd container recreation.
|
2017-05-13 22:22:40 +02:00
|
|
|
bitcoin:
|
|
|
|
driver: local
|
|
|
|
|
2018-02-07 04:11:11 +01:00
|
|
|
# litecoin volume is needed for maintaining blockchain persistence
|
2017-05-13 22:22:40 +02:00
|
|
|
# during ltcd container recreation.
|
|
|
|
litecoin:
|
2017-01-13 21:24:07 +01:00
|
|
|
driver: local
|