lab-ansible/roles/apps/templates/compose-files/monerod.yml.j2

31 lines
733 B
Plaintext
Raw Normal View History

2023-12-29 18:07:08 +00:00
{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
version: "3.8"
services:
node:
image: sethsimmons/simple-monerod:{{ apps_vars.monerod.version }}
restart: always
2023-12-25 22:58:35 +00:00
command:
- '--rpc-restricted-bind-ip=0.0.0.0'
2024-03-02 21:36:05 +00:00
- '--rpc-restricted-bind-port={{ apps_vars.monerod.port }}'
2023-12-25 22:58:35 +00:00
- '--no-igd'
- '--no-zmq'
- '--enable-dns-blocklist'
2024-03-02 21:36:05 +00:00
{% if hostname not in groups['production'] %}
2023-12-25 22:58:35 +00:00
- '--prune-blockchain'
{% endif %}
networks:
{{ apps_shared_docker_network }}:
aliases:
- monerod
ports:
2023-12-25 20:49:17 +00:00
- 18080:18080/tcp
volumes:
2023-12-25 20:49:17 +00:00
- "./data/bitmonero:/home/monero/.bitmonero:rw"
networks:
{{ apps_shared_docker_network }}:
2023-11-08 21:30:41 +00:00
external: true