|
|
@@ -0,0 +1,50 @@ |
|
|
|
version: '3' |
|
|
|
|
|
|
|
services: |
|
|
|
|
|
|
|
spruned: |
|
|
|
container_name: bitcoin-node |
|
|
|
build: 'https://github.com/gdassori/spruned.git' |
|
|
|
expose: |
|
|
|
- "8332" |
|
|
|
ports: |
|
|
|
- '8333:8333' |
|
|
|
command: |
|
|
|
- '--rpcuser' |
|
|
|
- 'rpcuser' |
|
|
|
- '--rpcpassword' |
|
|
|
- 'rpcpass' |
|
|
|
- '--debug' |
|
|
|
networks: |
|
|
|
nodenet: |
|
|
|
ipv4_address: 172.0.0.10 |
|
|
|
|
|
|
|
lightning: |
|
|
|
container_name: lightning-node |
|
|
|
image: nicolasdorier/clightning:v0.6.2-3 |
|
|
|
volumes: |
|
|
|
- ./clnode:/root/.lightning |
|
|
|
expose: |
|
|
|
- '9735' |
|
|
|
ports: |
|
|
|
- '9735:9735' |
|
|
|
environment: |
|
|
|
LIGHTNINGD_OPT: | |
|
|
|
bitcoin-rpcconnect=172.0.0.1 |
|
|
|
bitcoin-rpcuser=rpcuser |
|
|
|
bitcoin-rpcpassword=rpcpass |
|
|
|
network=bitcoin |
|
|
|
log-level=debug |
|
|
|
alias=tr3y.io |
|
|
|
rgb=00aa00 |
|
|
|
networks: |
|
|
|
nodenet: |
|
|
|
ipv4_address: 172.0.0.20 |
|
|
|
|
|
|
|
networks: |
|
|
|
nodenet: |
|
|
|
driver: bridge |
|
|
|
ipam: |
|
|
|
driver: default |
|
|
|
config: |
|
|
|
- subnet: 172.0.0.0/24 |