Skip to content

Commit

Permalink
docker: make blockchain persistant
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewshvv authored and Roasbeef committed Jan 18, 2017
1 parent be66e03 commit 67b300f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
context: btcd/
volumes:
- shared:/rpc
- blockchain:/data
environment:
- RPCUSER
- RPCPASS
Expand Down Expand Up @@ -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

0 comments on commit 67b300f

Please sign in to comment.