# vim: ft=yaml.ansible
---
- name: Create Docker volume for Monero blockchain data
docker_volume:
volume_name: monerod-node-blockchain
state: present
- name: Deploy Monero node Docker container
docker_container:
name: monerod
image: "sethsimmons/simple-monerod:{{ services.monerod.version }}"
restart_policy: unless-stopped
volumes:
- monerod-node-blockchain:/home/monero/.bitmonero:rw
command:
- '--rpc-restricted-bind-ip=0.0.0.0'
- '--rpc-restricted-bind-port=18089'
- --no-igd
- --no-zmq
- --enable-dns-blocklist
published_ports:
- '18080:18080'
- '127.0.0.1:18081:18089'