This repository has been archived on 2023-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
pi-ansible/roles/docker/tasks/services/monerod.yml

24 lines
660 B
YAML
Raw Normal View History

2022-12-22 19:18:27 +00:00
# vim: ft=yaml.ansible
2022-12-22 16:58:48 +00:00
---
- name: Create Docker volume for Monero blockchain data
docker_volume:
2022-12-23 17:32:34 +00:00
volume_name: monerod-node-blockchain
2022-12-27 18:25:31 +00:00
state: present
2022-12-22 16:58:48 +00:00
- name: Deploy Monero node Docker container
docker_container:
name: monerod
image: "sethsimmons/simple-monerod:{{ services.monerod.version }}"
restart_policy: unless-stopped
volumes:
2022-12-23 17:32:34 +00:00
- monerod-node-blockchain:/home/monero/.bitmonero:rw
2022-12-22 16:58:48 +00:00
command:
2022-12-22 19:18:27 +00:00
- '--rpc-restricted-bind-ip=0.0.0.0'
- '--rpc-restricted-bind-port=18089'
2022-12-22 16:58:48 +00:00
- --no-igd
- --no-zmq
- --enable-dns-blocklist
published_ports:
2022-12-22 19:18:27 +00:00
- '18080:18080'
- '127.0.0.1:18081:18089'