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

31 lines
699 B
Django/Jinja

# THIS FILE IS MANAGED BY ANSIBLE
# code: language=ansible-jinja
version: "3.8"
services:
node:
image: sethsimmons/simple-monerod:{{ apps_vars.monerod.version }}
restart: always
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:
- 18080:18080/tcp
volumes:
- "./data/bitmonero:/home/monero/.bitmonero:rw"
networks:
{{ apps_shared_docker_network }}:
external: true