29 lines
717 B
Django/Jinja
29 lines
717 B
Django/Jinja
{# code: language=ansible-jinja #}
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
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={{ apps_vars.monerod.port }}'
|
|
- '--no-igd'
|
|
- '--no-zmq'
|
|
- '--enable-dns-blocklist'
|
|
{% if hostname not in groups['production'] %}
|
|
- '--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
|