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_services/tasks/services/monerod.yml

21 lines
569 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
2023-03-22 18:31:21 +00:00
community.docker.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
2023-03-22 18:31:21 +00:00
community.docker.docker_container:
name: monerod_node
2023-01-03 21:30:22 +00:00
image: sethsimmons/simple-monerod:{{ services.monerod.version }}
2023-01-14 18:25:13 +00:00
restart_policy: always
networks:
2022-12-28 17:03:57 +00:00
- name: services
2022-12-28 17:24:27 +00:00
aliases:
- monerod
2022-12-22 16:58:48 +00:00
volumes:
2022-12-23 17:32:34 +00:00
- monerod-node-blockchain:/home/monero/.bitmonero:rw
2022-12-22 16:58:48 +00:00
published_ports:
2023-01-03 21:30:22 +00:00
- 18080:18080/tcp