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

31 lines
703 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'
- '--rpc-restricted-bind-port=18089'
- '--no-igd'
- '--no-zmq'
- '--enable-dns-blocklist'
{% if hostname in groups['staging'] %}
- '--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