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
2023-03-22 19:31:21 +01:00

21 lines
569 B
YAML

# vim: ft=yaml.ansible
---
- name: Create Docker volume for Monero blockchain data
community.docker.docker_volume:
volume_name: monerod-node-blockchain
state: present
- name: Deploy Monero node Docker container
community.docker.docker_container:
name: monerod_node
image: sethsimmons/simple-monerod:{{ services.monerod.version }}
restart_policy: always
networks:
- name: services
aliases:
- monerod
volumes:
- monerod-node-blockchain:/home/monero/.bitmonero:rw
published_ports:
- 18080:18080/tcp