mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-03 17:26:57 +01:00
docker: make blockchain persistant
This commit is contained in:
parent
be66e039f1
commit
67b300fdc4
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,7 @@ services:
|
|||
context: btcd/
|
||||
volumes:
|
||||
- shared:/rpc
|
||||
- blockchain:/data
|
||||
environment:
|
||||
- RPCUSER
|
||||
- RPCPASS
|
||||
|
@ -59,3 +60,8 @@ volumes:
|
|||
# btcctl and lnd containers.
|
||||
shared:
|
||||
driver: local
|
||||
|
||||
# blockhain volume is needed for maintaining blockchain persistance
|
||||
# during btcd container recreation.
|
||||
blockchain:
|
||||
driver: local
|
||||
|
|
Loading…
Add table
Reference in a new issue