docker: make blockchain persistant
This commit is contained in:
parent
be66e039f1
commit
67b300fdc4
@ -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…
Reference in New Issue
Block a user