add named volume to lnd service for persisting data accross container lifecycle
This commit is contained in:
1 parent
d50b3a9c81
commit
5c4edcab8f
3 files changed
+17
-8
No files matched your search
@@ -9,8 +9,8 @@ services:
|
||||
build:
|
||||
context: btcd/
|
||||
volumes:
|
||||
- shared:/rpc
|
||||
- bitcoin:/data
|
||||
- shared:/rpc
|
||||
- bitcoin:/data
|
||||
environment:
|
||||
- RPCUSER
|
||||
- RPCPASS
|
||||
@@ -41,8 +41,8 @@ services:
|
||||
build:
|
||||
context: ltcd/
|
||||
volumes:
|
||||
- shared:/rpc
|
||||
- litecoin:/data
|
||||
- shared:/rpc
|
||||
- litecoin:/data
|
||||
environment:
|
||||
- RPCUSER
|
||||
- RPCPASS
|
||||
@@ -76,7 +76,8 @@ services:
|
||||
- CHAIN
|
||||
- DEBUG
|
||||
volumes:
|
||||
- shared:/rpc
|
||||
- shared:/rpc
|
||||
- lnd:/root/.lnd
|
||||
entrypoint: ["./start-lnd.sh"]
|
||||
|
||||
lnd_ltc:
|
||||
@@ -102,6 +103,11 @@ volumes:
|
||||
bitcoin:
|
||||
driver: local
|
||||
|
||||
# lnd volume is used for persisting lnd application data and chain state
|
||||
# during container lifecycle.
|
||||
lnd:
|
||||
driver: local
|
||||
|
||||
# litecoin volume is needed for maintaining blockchain persistence
|
||||
# during ltcd container recreation.
|
||||
litecoin:
|
||||
|
||||
Reference in new issue
Block a user