mirror of
https://github.com/lnbook/lnbook
synced 2024-11-18 21:28:03 +00:00
updates
This commit is contained in:
parent
98fa63d338
commit
1672b0b2d8
@ -2,9 +2,15 @@ FROM bitcoind_base:latest
|
||||
|
||||
ADD bitcoind /bitcoind
|
||||
WORKDIR /bitcoind
|
||||
RUN ln -sf /dev/stdout /bitcoind/debug.log
|
||||
|
||||
EXPOSE 12001
|
||||
|
||||
RUN ln -sf /dev/stdout /bitcoind/debug.log
|
||||
|
||||
CMD ["bitcoind", "-datadir=/bitcoind"]
|
||||
CMD bitcoind -datadir=/bitcoind -daemon \
|
||||
&& sleep 2 \
|
||||
&& address=$(bitcoin-cli -datadir=/bitcoind getnewaddress) \
|
||||
&& bitcoin-cli -datadir=/bitcoind generatetoaddress 101 $address \
|
||||
&& while sleep 10 \
|
||||
; do bitcoin-cli -datadir=/bitcoind generatetoaddress 1 $address \
|
||||
; done
|
||||
|
@ -1,26 +1,16 @@
|
||||
version: "3.3"
|
||||
services:
|
||||
bitcoind-base:
|
||||
container_name: bitcoind-base
|
||||
bitcoind-regtest:
|
||||
container_name: bitcoind-regtest
|
||||
build:
|
||||
context: ../bitcoind-base/.
|
||||
context: ../bitcoind-regtest/.
|
||||
dockerfile: ./Dockerfile
|
||||
image: lnbook/bitcoind_base:latest
|
||||
c-lightning-base:
|
||||
container_name: c-lightning-base
|
||||
image: lnbook/bitcoind_regtest:latest
|
||||
ports:
|
||||
- "12001:12001"
|
||||
lnd-run:
|
||||
container_name: lnd-run
|
||||
build:
|
||||
context: ../c-lightning-base
|
||||
context: ../lnd-run
|
||||
dockerfile: ./Dockerfile
|
||||
image: lnbook/c-lightning_base:latest
|
||||
lnd-base:
|
||||
container_name: lnd-base
|
||||
build:
|
||||
context: ../lnd-base
|
||||
dockerfile: ./Dockerfile
|
||||
image: lnbook/lnd_base:latest
|
||||
eclair-base:
|
||||
container_name: eclair-base
|
||||
build:
|
||||
context: ../eclair-base
|
||||
dockerfile: ./Dockerfile
|
||||
image: lnbook/eclair_base:latest
|
||||
image: lnbook/lnd_run:latest
|
||||
|
5
code/docker/lnd-run/Dockerfile
Normal file
5
code/docker/lnd-run/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM lnbook/lnd_base
|
||||
|
||||
ADD lnd /lnd
|
||||
|
||||
CMD lnd --lnddir=/lnd
|
16
code/docker/lnd-run/lnd/lnd.conf
Normal file
16
code/docker/lnd-run/lnd/lnd.conf
Normal file
@ -0,0 +1,16 @@
|
||||
[Application Options]
|
||||
no-macaroons=1
|
||||
rpclisten=0.0.0.0:18001
|
||||
restlisten=0.0.0.0:18080
|
||||
listen=0.0.0.0:19735
|
||||
nobootstrap=1
|
||||
debug=1
|
||||
|
||||
[bitcoin]
|
||||
bitcoin.active=1
|
||||
bitcoin.regtest=1
|
||||
|
||||
[bitcoind]
|
||||
bitcoind.rpchost=localhost
|
||||
bitcoind.rpcuser=regtest
|
||||
bitcoind.rpcpass=regtest
|
Loading…
Reference in New Issue
Block a user