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
|
- name: Create Docker volume for Monero blockchain data
|
||||||
docker_volume:
|
docker_volume:
|
||||||
volume_name: monerod_data
|
volume_name: monerod-node-blockchain
|
||||||
|
|
||||||
- name: Deploy Monero node Docker container
|
- name: Deploy Monero node Docker container
|
||||||
docker_container:
|
docker_container:
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
image: "sethsimmons/simple-monerod:{{ services.monerod.version }}"
|
image: "sethsimmons/simple-monerod:{{ services.monerod.version }}"
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- monerod_data:/home/monero/.bitmonero:rw
|
- monerod-node-blockchain:/home/monero/.bitmonero:rw
|
||||||
command:
|
command:
|
||||||
- '--rpc-restricted-bind-ip=0.0.0.0'
|
- '--rpc-restricted-bind-ip=0.0.0.0'
|
||||||
- '--rpc-restricted-bind-port=18089'
|
- '--rpc-restricted-bind-port=18089'
|
||||||
|
|
Reference in a new issue