Use existing Docker volume
This commit is contained in:
parent
1b9e59078e
commit
3639a4a51a
|
@ -2,7 +2,7 @@
|
|||
---
|
||||
- name: Create Docker volume for Monero blockchain data
|
||||
docker_volume:
|
||||
volume_name: monerod_data
|
||||
volume_name: monerod-node-blockchain
|
||||
|
||||
- name: Deploy Monero node Docker container
|
||||
docker_container:
|
||||
|
@ -10,7 +10,7 @@
|
|||
image: "sethsimmons/simple-monerod:{{ services.monerod.version }}"
|
||||
restart_policy: unless-stopped
|
||||
volumes:
|
||||
- monerod_data:/home/monero/.bitmonero:rw
|
||||
- monerod-node-blockchain:/home/monero/.bitmonero:rw
|
||||
command:
|
||||
- '--rpc-restricted-bind-ip=0.0.0.0'
|
||||
- '--rpc-restricted-bind-port=18089'
|
||||
|
|
Reference in a new issue