docker: make blockchain persistant
This commit is contained in:
parent
be66e039f1
commit
67b300fdc4
@ -10,6 +10,7 @@ services:
|
|||||||
context: btcd/
|
context: btcd/
|
||||||
volumes:
|
volumes:
|
||||||
- shared:/rpc
|
- shared:/rpc
|
||||||
|
- blockchain:/data
|
||||||
environment:
|
environment:
|
||||||
- RPCUSER
|
- RPCUSER
|
||||||
- RPCPASS
|
- RPCPASS
|
||||||
@ -59,3 +60,8 @@ volumes:
|
|||||||
# btcctl and lnd containers.
|
# btcctl and lnd containers.
|
||||||
shared:
|
shared:
|
||||||
driver: local
|
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