2023-12-29 18:07:08 +00:00
|
|
|
{# code: language=ansible-jinja #}
|
2023-12-23 16:52:27 +00:00
|
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
|
2023-11-03 22:38:15 +00:00
|
|
|
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 %}
|
2023-11-03 22:38:15 +00:00
|
|
|
networks:
|
|
|
|
{{ apps_shared_docker_network }}:
|
|
|
|
aliases:
|
|
|
|
- monerod
|
|
|
|
ports:
|
2023-12-25 20:49:17 +00:00
|
|
|
- 18080:18080/tcp
|
2023-11-03 22:38:15 +00:00
|
|
|
volumes:
|
2023-12-25 20:49:17 +00:00
|
|
|
- "./data/bitmonero:/home/monero/.bitmonero:rw"
|
2023-11-03 22:38:15 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
{{ apps_shared_docker_network }}:
|
2023-11-08 21:30:41 +00:00
|
|
|
external: true
|