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 bitcoin_data
|
||||||
docker volume create lightning_data
|
docker volume create lightning_data
|
||||||
docker volume create txood_data
|
docker volume create txoo_data
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker Compose Run
|
## Docker Compose Run
|
||||||
|
@ -7,7 +7,7 @@ services:
|
|||||||
image: bitcoind
|
image: bitcoind
|
||||||
container_name: bitcoind-test
|
container_name: bitcoind-test
|
||||||
volumes:
|
volumes:
|
||||||
- data:/home/bitcoin/.bitcoin
|
- bitcoin_data:/home/bitcoin/.bitcoin
|
||||||
expose:
|
expose:
|
||||||
- 18332
|
- 18332
|
||||||
networks:
|
networks:
|
||||||
@ -27,7 +27,7 @@ services:
|
|||||||
- --conf=/home/lightning/.lightning/testnet-config
|
- --conf=/home/lightning/.lightning/testnet-config
|
||||||
- --bitcoin-rpcconnect=bitcoind
|
- --bitcoin-rpcconnect=bitcoind
|
||||||
volumes:
|
volumes:
|
||||||
- clightning:/home/lightning/.lightning
|
- lightning_data:/home/lightning/.lightning
|
||||||
expose:
|
expose:
|
||||||
- 19735
|
- 19735
|
||||||
- 7701
|
- 7701
|
||||||
@ -57,7 +57,7 @@ services:
|
|||||||
- LN_testing
|
- LN_testing
|
||||||
volumes:
|
volumes:
|
||||||
- txoo_data:/root/.txoo/
|
- txoo_data:/root/.txoo/
|
||||||
- data:/root/.bitcoin/
|
- bitcoin_data:/root/.bitcoin/
|
||||||
depends_on:
|
depends_on:
|
||||||
bitcoin-core:
|
bitcoin-core:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@ -66,14 +66,14 @@ services:
|
|||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
bitcoin_data:
|
||||||
name: bitcoin_data
|
name: bitcoin_data
|
||||||
external: true
|
external: true
|
||||||
clightning:
|
lightning_data:
|
||||||
name: lightning_data
|
name: lightning_data
|
||||||
external: true
|
external: true
|
||||||
txoo_data:
|
txoo_data:
|
||||||
name: txood_data
|
name: txoo_data
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user