compose: standardize volume names
- $SERVICE_data name for volumes - update readme Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
parent
b02b64ece1
commit
cd2a0f653f
@ -35,7 +35,7 @@ sudo systemctl enable --now docker
|
||||
```
|
||||
docker volume create bitcoin_data
|
||||
docker volume create lightning_data
|
||||
docker volume create txood_data
|
||||
docker volume create txoo_data
|
||||
```
|
||||
|
||||
## Docker Compose Run
|
||||
|
@ -7,7 +7,7 @@ services:
|
||||
image: bitcoind
|
||||
container_name: bitcoind-test
|
||||
volumes:
|
||||
- data:/home/bitcoin/.bitcoin
|
||||
- bitcoin_data:/home/bitcoin/.bitcoin
|
||||
expose:
|
||||
- 18332
|
||||
networks:
|
||||
@ -27,7 +27,7 @@ services:
|
||||
- --conf=/home/lightning/.lightning/testnet-config
|
||||
- --bitcoin-rpcconnect=bitcoind
|
||||
volumes:
|
||||
- clightning:/home/lightning/.lightning
|
||||
- lightning_data:/home/lightning/.lightning
|
||||
expose:
|
||||
- 19735
|
||||
- 7701
|
||||
@ -57,7 +57,7 @@ services:
|
||||
- LN_testing
|
||||
volumes:
|
||||
- txoo_data:/root/.txoo/
|
||||
- data:/root/.bitcoin/
|
||||
- bitcoin_data:/root/.bitcoin/
|
||||
depends_on:
|
||||
bitcoin-core:
|
||||
condition: service_healthy
|
||||
@ -66,14 +66,14 @@ services:
|
||||
|
||||
|
||||
volumes:
|
||||
data:
|
||||
bitcoin_data:
|
||||
name: bitcoin_data
|
||||
external: true
|
||||
clightning:
|
||||
lightning_data:
|
||||
name: lightning_data
|
||||
external: true
|
||||
txoo_data:
|
||||
name: txood_data
|
||||
name: txoo_data
|
||||
external: true
|
||||
|
||||
networks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user