Use existing Docker volume

This commit is contained in:
Sam A. 2022-12-23 18:32:34 +01:00
parent 1b9e59078e
commit 3639a4a51a
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -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'